@azure/arm-oracledatabase 1.0.0-alpha.20240530.1 → 1.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.
Files changed (100) hide show
  1. package/CHANGELOG.md +52 -0
  2. package/dist/index.js +1095 -497
  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/autonomousDatabaseBackupsCreateOrUpdateSample.js +28 -1
  7. package/dist-esm/samples-dev/autonomousDatabaseBackupsCreateOrUpdateSample.js.map +1 -1
  8. package/dist-esm/samples-dev/autonomousDatabaseBackupsDeleteSample.js +20 -0
  9. package/dist-esm/samples-dev/autonomousDatabaseBackupsDeleteSample.js.map +1 -1
  10. package/dist-esm/samples-dev/autonomousDatabaseBackupsGetSample.js +20 -0
  11. package/dist-esm/samples-dev/autonomousDatabaseBackupsGetSample.js.map +1 -1
  12. package/dist-esm/samples-dev/autonomousDatabaseBackupsListByAutonomousDatabaseSample.js +36 -1
  13. package/dist-esm/samples-dev/autonomousDatabaseBackupsListByAutonomousDatabaseSample.js.map +1 -1
  14. package/dist-esm/samples-dev/autonomousDatabaseBackupsUpdateSample.js +21 -0
  15. package/dist-esm/samples-dev/autonomousDatabaseBackupsUpdateSample.js.map +1 -1
  16. package/dist-esm/samples-dev/autonomousDatabasesCreateOrUpdateSample.js +75 -2
  17. package/dist-esm/samples-dev/autonomousDatabasesCreateOrUpdateSample.js.map +1 -1
  18. package/dist-esm/samples-dev/autonomousDatabasesFailoverSample.js +20 -0
  19. package/dist-esm/samples-dev/autonomousDatabasesFailoverSample.js.map +1 -1
  20. package/dist-esm/samples-dev/autonomousDatabasesGetSample.js +19 -0
  21. package/dist-esm/samples-dev/autonomousDatabasesGetSample.js.map +1 -1
  22. package/dist-esm/samples-dev/autonomousDatabasesRestoreSample.d.ts +2 -0
  23. package/dist-esm/samples-dev/autonomousDatabasesRestoreSample.d.ts.map +1 -0
  24. package/dist-esm/samples-dev/autonomousDatabasesRestoreSample.js +64 -0
  25. package/dist-esm/samples-dev/autonomousDatabasesRestoreSample.js.map +1 -0
  26. package/dist-esm/samples-dev/autonomousDatabasesShrinkSample.d.ts +2 -0
  27. package/dist-esm/samples-dev/autonomousDatabasesShrinkSample.d.ts.map +1 -0
  28. package/dist-esm/samples-dev/autonomousDatabasesShrinkSample.js +39 -0
  29. package/dist-esm/samples-dev/autonomousDatabasesShrinkSample.js.map +1 -0
  30. package/dist-esm/samples-dev/autonomousDatabasesSwitchoverSample.js +20 -0
  31. package/dist-esm/samples-dev/autonomousDatabasesSwitchoverSample.js.map +1 -1
  32. package/dist-esm/samples-dev/dbNodesActionSample.js +21 -0
  33. package/dist-esm/samples-dev/dbNodesActionSample.js.map +1 -1
  34. package/dist-esm/samples-dev/systemVersionsGetSample.d.ts +2 -0
  35. package/dist-esm/samples-dev/systemVersionsGetSample.d.ts.map +1 -0
  36. package/dist-esm/samples-dev/systemVersionsGetSample.js +58 -0
  37. package/dist-esm/samples-dev/systemVersionsGetSample.js.map +1 -0
  38. package/dist-esm/samples-dev/systemVersionsListByLocationSample.d.ts +2 -0
  39. package/dist-esm/samples-dev/systemVersionsListByLocationSample.d.ts.map +1 -0
  40. package/dist-esm/samples-dev/systemVersionsListByLocationSample.js +88 -0
  41. package/dist-esm/samples-dev/systemVersionsListByLocationSample.js.map +1 -0
  42. package/dist-esm/src/models/index.d.ts +546 -482
  43. package/dist-esm/src/models/index.d.ts.map +1 -1
  44. package/dist-esm/src/models/index.js +182 -178
  45. package/dist-esm/src/models/index.js.map +1 -1
  46. package/dist-esm/src/models/mappers.d.ts +10 -2
  47. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  48. package/dist-esm/src/models/mappers.js +333 -143
  49. package/dist-esm/src/models/mappers.js.map +1 -1
  50. package/dist-esm/src/models/parameters.d.ts +4 -2
  51. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  52. package/dist-esm/src/models/parameters.js +53 -4
  53. package/dist-esm/src/models/parameters.js.map +1 -1
  54. package/dist-esm/src/operations/autonomousDatabases.d.ts +31 -1
  55. package/dist-esm/src/operations/autonomousDatabases.d.ts.map +1 -1
  56. package/dist-esm/src/operations/autonomousDatabases.js +176 -0
  57. package/dist-esm/src/operations/autonomousDatabases.js.map +1 -1
  58. package/dist-esm/src/operations/cloudVmClusters.js +3 -3
  59. package/dist-esm/src/operations/dbNodes.js +1 -1
  60. package/dist-esm/src/operations/index.d.ts +1 -0
  61. package/dist-esm/src/operations/index.d.ts.map +1 -1
  62. package/dist-esm/src/operations/index.js +1 -0
  63. package/dist-esm/src/operations/index.js.map +1 -1
  64. package/dist-esm/src/operations/systemVersions.d.ts +42 -0
  65. package/dist-esm/src/operations/systemVersions.d.ts.map +1 -0
  66. package/dist-esm/src/operations/systemVersions.js +175 -0
  67. package/dist-esm/src/operations/systemVersions.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/autonomousDatabases.d.ts +31 -1
  69. package/dist-esm/src/operationsInterfaces/autonomousDatabases.d.ts.map +1 -1
  70. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  71. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  72. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  73. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  74. package/dist-esm/src/operationsInterfaces/systemVersions.d.ts +19 -0
  75. package/dist-esm/src/operationsInterfaces/systemVersions.d.ts.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/systemVersions.js +9 -0
  77. package/dist-esm/src/operationsInterfaces/systemVersions.js.map +1 -0
  78. package/dist-esm/src/oracleDatabaseManagementClient.d.ts +2 -1
  79. package/dist-esm/src/oracleDatabaseManagementClient.d.ts.map +1 -1
  80. package/dist-esm/src/oracleDatabaseManagementClient.js +3 -2
  81. package/dist-esm/src/oracleDatabaseManagementClient.js.map +1 -1
  82. package/dist-esm/test/oracledatabase_operations_test.spec.d.ts.map +1 -1
  83. package/dist-esm/test/oracledatabase_operations_test.spec.js +5 -1
  84. package/dist-esm/test/oracledatabase_operations_test.spec.js.map +1 -1
  85. package/package.json +3 -3
  86. package/review/arm-oracledatabase.api.md +145 -40
  87. package/src/models/index.ts +568 -484
  88. package/src/models/mappers.ts +344 -143
  89. package/src/models/parameters.ts +55 -3
  90. package/src/operations/autonomousDatabases.ts +252 -0
  91. package/src/operations/cloudVmClusters.ts +3 -3
  92. package/src/operations/dbNodes.ts +1 -1
  93. package/src/operations/index.ts +1 -0
  94. package/src/operations/systemVersions.ts +213 -0
  95. package/src/operationsInterfaces/autonomousDatabases.ts +63 -0
  96. package/src/operationsInterfaces/index.ts +1 -0
  97. package/src/operationsInterfaces/systemVersions.ts +40 -0
  98. package/src/oracleDatabaseManagementClient.ts +5 -1
  99. package/types/arm-oracledatabase.d.ts +629 -499
  100. package/types/tsdoc-metadata.json +1 -1
package/dist/index.js CHANGED
@@ -85,25 +85,25 @@ exports.KnownActionType = void 0;
85
85
  /** Known values of {@link DataBaseType} that the service accepts. */
86
86
  exports.KnownDataBaseType = void 0;
87
87
  (function (KnownDataBaseType) {
88
- /** REGULAR value */
88
+ /** Regular DB */
89
89
  KnownDataBaseType["Regular"] = "Regular";
90
- /** CLONE value */
90
+ /** Clone DB */
91
91
  KnownDataBaseType["Clone"] = "Clone";
92
92
  })(exports.KnownDataBaseType || (exports.KnownDataBaseType = {}));
93
93
  /** Known values of {@link AutonomousMaintenanceScheduleType} that the service accepts. */
94
94
  exports.KnownAutonomousMaintenanceScheduleType = void 0;
95
95
  (function (KnownAutonomousMaintenanceScheduleType) {
96
- /** EARLY value */
96
+ /** Early maintenance schedule */
97
97
  KnownAutonomousMaintenanceScheduleType["Early"] = "Early";
98
- /** REGULAR value */
98
+ /** Regular maintenance schedule */
99
99
  KnownAutonomousMaintenanceScheduleType["Regular"] = "Regular";
100
100
  })(exports.KnownAutonomousMaintenanceScheduleType || (exports.KnownAutonomousMaintenanceScheduleType = {}));
101
101
  /** Known values of {@link ComputeModel} that the service accepts. */
102
102
  exports.KnownComputeModel = void 0;
103
103
  (function (KnownComputeModel) {
104
- /** ECPU value */
104
+ /** ECPU model type */
105
105
  KnownComputeModel["Ecpu"] = "ECPU";
106
- /** OCPU value */
106
+ /** OCPU model type */
107
107
  KnownComputeModel["Ocpu"] = "OCPU";
108
108
  })(exports.KnownComputeModel || (exports.KnownComputeModel = {}));
109
109
  /** Known values of {@link WorkloadType} that the service accepts. */
@@ -121,63 +121,63 @@ exports.KnownWorkloadType = void 0;
121
121
  /** Known values of {@link DisasterRecoveryType} that the service accepts. */
122
122
  exports.KnownDisasterRecoveryType = void 0;
123
123
  (function (KnownDisasterRecoveryType) {
124
- /** ADG value */
124
+ /** ADG type */
125
125
  KnownDisasterRecoveryType["Adg"] = "Adg";
126
- /** BACKUP_BASED value */
126
+ /** Backup based type */
127
127
  KnownDisasterRecoveryType["BackupBased"] = "BackupBased";
128
128
  })(exports.KnownDisasterRecoveryType || (exports.KnownDisasterRecoveryType = {}));
129
129
  /** Known values of {@link AutonomousDatabaseLifecycleState} that the service accepts. */
130
130
  exports.KnownAutonomousDatabaseLifecycleState = void 0;
131
131
  (function (KnownAutonomousDatabaseLifecycleState) {
132
- /** PROVISIONING value */
132
+ /** Indicates that resource in Provisioning state */
133
133
  KnownAutonomousDatabaseLifecycleState["Provisioning"] = "Provisioning";
134
- /** AVAILABLE value */
134
+ /** Indicates that resource in Available state */
135
135
  KnownAutonomousDatabaseLifecycleState["Available"] = "Available";
136
- /** STOPPING value */
136
+ /** Indicates that resource in Stopping state */
137
137
  KnownAutonomousDatabaseLifecycleState["Stopping"] = "Stopping";
138
- /** STOPPED value */
138
+ /** Indicates that resource in Stopped state */
139
139
  KnownAutonomousDatabaseLifecycleState["Stopped"] = "Stopped";
140
- /** STARTING value */
140
+ /** Indicates that resource in Starting state */
141
141
  KnownAutonomousDatabaseLifecycleState["Starting"] = "Starting";
142
- /** TERMINATING value */
142
+ /** Indicates that resource in Terminating state */
143
143
  KnownAutonomousDatabaseLifecycleState["Terminating"] = "Terminating";
144
- /** TERMINATED value */
144
+ /** Indicates that resource in Terminated state */
145
145
  KnownAutonomousDatabaseLifecycleState["Terminated"] = "Terminated";
146
- /** UNAVAILABLE value */
146
+ /** Indicates that resource in Unavailable state */
147
147
  KnownAutonomousDatabaseLifecycleState["Unavailable"] = "Unavailable";
148
- /** RESTORE_IN_PROGRESS value */
148
+ /** Indicates that resource in RestoreInProgress state */
149
149
  KnownAutonomousDatabaseLifecycleState["RestoreInProgress"] = "RestoreInProgress";
150
- /** RESTORE_FAILED value */
150
+ /** Indicates that resource in RestoreFailed state */
151
151
  KnownAutonomousDatabaseLifecycleState["RestoreFailed"] = "RestoreFailed";
152
- /** BACKUP_IN_PROGRESS value */
152
+ /** Indicates that resource in BackupInProgress state */
153
153
  KnownAutonomousDatabaseLifecycleState["BackupInProgress"] = "BackupInProgress";
154
- /** SCALE_IN_PROGRESS value */
154
+ /** Indicates that resource in ScaleInProgress state */
155
155
  KnownAutonomousDatabaseLifecycleState["ScaleInProgress"] = "ScaleInProgress";
156
- /** AVAILABLE_NEEDS_ATTENTION value */
156
+ /** Indicates that resource is available but needs attention */
157
157
  KnownAutonomousDatabaseLifecycleState["AvailableNeedsAttention"] = "AvailableNeedsAttention";
158
- /** UPDATING value */
158
+ /** Indicates that resource in Updating state */
159
159
  KnownAutonomousDatabaseLifecycleState["Updating"] = "Updating";
160
- /** MAINTENANCE_IN_PROGRESS value */
160
+ /** Indicates that resource maintenance in progress state */
161
161
  KnownAutonomousDatabaseLifecycleState["MaintenanceInProgress"] = "MaintenanceInProgress";
162
- /** RESTARTING value */
162
+ /** Indicates that resource in Restarting state */
163
163
  KnownAutonomousDatabaseLifecycleState["Restarting"] = "Restarting";
164
- /** RECREATING value */
164
+ /** Indicates that resource in Recreating state */
165
165
  KnownAutonomousDatabaseLifecycleState["Recreating"] = "Recreating";
166
- /** ROLE_CHANGE_IN_PROGRESS value */
166
+ /** Indicates that resource role change in progress state */
167
167
  KnownAutonomousDatabaseLifecycleState["RoleChangeInProgress"] = "RoleChangeInProgress";
168
- /** UPGRADING value */
168
+ /** Indicates that resource in Upgrading state */
169
169
  KnownAutonomousDatabaseLifecycleState["Upgrading"] = "Upgrading";
170
- /** INACCESSIBLE value */
170
+ /** IIndicates that resource in Inaccessible state */
171
171
  KnownAutonomousDatabaseLifecycleState["Inaccessible"] = "Inaccessible";
172
- /** STANDBY value */
172
+ /** Indicates that resource in Standby state */
173
173
  KnownAutonomousDatabaseLifecycleState["Standby"] = "Standby";
174
174
  })(exports.KnownAutonomousDatabaseLifecycleState || (exports.KnownAutonomousDatabaseLifecycleState = {}));
175
175
  /** Known values of {@link LicenseModel} that the service accepts. */
176
176
  exports.KnownLicenseModel = void 0;
177
177
  (function (KnownLicenseModel) {
178
- /** LicenseIncluded value */
178
+ /** License included */
179
179
  KnownLicenseModel["LicenseIncluded"] = "LicenseIncluded";
180
- /** BringYourOwnLicense value */
180
+ /** Bring Your Own License */
181
181
  KnownLicenseModel["BringYourOwnLicense"] = "BringYourOwnLicense";
182
182
  })(exports.KnownLicenseModel || (exports.KnownLicenseModel = {}));
183
183
  /** Known values of {@link AzureResourceProvisioningState} that the service accepts. */
@@ -189,7 +189,7 @@ exports.KnownAzureResourceProvisioningState = void 0;
189
189
  KnownAzureResourceProvisioningState["Failed"] = "Failed";
190
190
  /** Resource creation was canceled. */
191
191
  KnownAzureResourceProvisioningState["Canceled"] = "Canceled";
192
- /** Provisioning value */
192
+ /** Indicates that resource in Provisioning state */
193
193
  KnownAzureResourceProvisioningState["Provisioning"] = "Provisioning";
194
194
  })(exports.KnownAzureResourceProvisioningState || (exports.KnownAzureResourceProvisioningState = {}));
195
195
  /** Known values of {@link DayOfWeekName} that the service accepts. */
@@ -213,125 +213,137 @@ exports.KnownDayOfWeekName = void 0;
213
213
  /** Known values of {@link ConsumerGroup} that the service accepts. */
214
214
  exports.KnownConsumerGroup = void 0;
215
215
  (function (KnownConsumerGroup) {
216
- /** HIGH value */
216
+ /** High group */
217
217
  KnownConsumerGroup["High"] = "High";
218
- /** MEDIUM value */
218
+ /** Medium group */
219
219
  KnownConsumerGroup["Medium"] = "Medium";
220
- /** LOW value */
220
+ /** Low group */
221
221
  KnownConsumerGroup["Low"] = "Low";
222
- /** TP value */
222
+ /** TP group */
223
223
  KnownConsumerGroup["Tp"] = "Tp";
224
- /** TPURGENT value */
224
+ /** TPurgent group */
225
225
  KnownConsumerGroup["Tpurgent"] = "Tpurgent";
226
226
  })(exports.KnownConsumerGroup || (exports.KnownConsumerGroup = {}));
227
227
  /** Known values of {@link HostFormatType} that the service accepts. */
228
228
  exports.KnownHostFormatType = void 0;
229
229
  (function (KnownHostFormatType) {
230
- /** FQDN value */
230
+ /** FQDN format */
231
231
  KnownHostFormatType["Fqdn"] = "Fqdn";
232
- /** IP value */
232
+ /** IP format */
233
233
  KnownHostFormatType["Ip"] = "Ip";
234
234
  })(exports.KnownHostFormatType || (exports.KnownHostFormatType = {}));
235
235
  /** Known values of {@link ProtocolType} that the service accepts. */
236
236
  exports.KnownProtocolType = void 0;
237
237
  (function (KnownProtocolType) {
238
- /** TCP value */
238
+ /** TCP protocol */
239
239
  KnownProtocolType["TCP"] = "TCP";
240
- /** TCPS value */
240
+ /** TCPS protocol */
241
241
  KnownProtocolType["Tcps"] = "TCPS";
242
242
  })(exports.KnownProtocolType || (exports.KnownProtocolType = {}));
243
243
  /** Known values of {@link SessionModeType} that the service accepts. */
244
244
  exports.KnownSessionModeType = void 0;
245
245
  (function (KnownSessionModeType) {
246
- /** DIRECT value */
246
+ /** Direct session mode */
247
247
  KnownSessionModeType["Direct"] = "Direct";
248
- /** REDIRECT value */
248
+ /** Redirect session mode */
249
249
  KnownSessionModeType["Redirect"] = "Redirect";
250
250
  })(exports.KnownSessionModeType || (exports.KnownSessionModeType = {}));
251
251
  /** Known values of {@link SyntaxFormatType} that the service accepts. */
252
252
  exports.KnownSyntaxFormatType = void 0;
253
253
  (function (KnownSyntaxFormatType) {
254
- /** LONG value */
254
+ /** Long format */
255
255
  KnownSyntaxFormatType["Long"] = "Long";
256
- /** EZCONNECT value */
256
+ /** Ezconnect format */
257
257
  KnownSyntaxFormatType["Ezconnect"] = "Ezconnect";
258
- /** EZCONNECTPLUS value */
258
+ /** Ezconnectplus format */
259
259
  KnownSyntaxFormatType["Ezconnectplus"] = "Ezconnectplus";
260
260
  })(exports.KnownSyntaxFormatType || (exports.KnownSyntaxFormatType = {}));
261
261
  /** Known values of {@link TlsAuthenticationType} that the service accepts. */
262
262
  exports.KnownTlsAuthenticationType = void 0;
263
263
  (function (KnownTlsAuthenticationType) {
264
- /** SERVER value */
264
+ /** Server authentication */
265
265
  KnownTlsAuthenticationType["Server"] = "Server";
266
- /** MUTUAL value */
266
+ /** Mutual TLS */
267
267
  KnownTlsAuthenticationType["Mutual"] = "Mutual";
268
268
  })(exports.KnownTlsAuthenticationType || (exports.KnownTlsAuthenticationType = {}));
269
269
  /** Known values of {@link DataSafeStatusType} that the service accepts. */
270
270
  exports.KnownDataSafeStatusType = void 0;
271
271
  (function (KnownDataSafeStatusType) {
272
- /** REGISTERING value */
272
+ /** Registering status */
273
273
  KnownDataSafeStatusType["Registering"] = "Registering";
274
- /** REGISTERED value */
274
+ /** Registered status */
275
275
  KnownDataSafeStatusType["Registered"] = "Registered";
276
- /** DEREGISTERING value */
276
+ /** Deregistering status */
277
277
  KnownDataSafeStatusType["Deregistering"] = "Deregistering";
278
- /** NOT_REGISTERED value */
278
+ /** NotRegistered status */
279
279
  KnownDataSafeStatusType["NotRegistered"] = "NotRegistered";
280
- /** FAILED value */
280
+ /** Failed status */
281
281
  KnownDataSafeStatusType["Failed"] = "Failed";
282
282
  })(exports.KnownDataSafeStatusType || (exports.KnownDataSafeStatusType = {}));
283
283
  /** Known values of {@link DatabaseEditionType} that the service accepts. */
284
284
  exports.KnownDatabaseEditionType = void 0;
285
285
  (function (KnownDatabaseEditionType) {
286
- /** STANDARD_EDITION value */
286
+ /** Standard edition */
287
287
  KnownDatabaseEditionType["StandardEdition"] = "StandardEdition";
288
- /** ENTERPRISE_EDITION value */
288
+ /** Enterprise edition */
289
289
  KnownDatabaseEditionType["EnterpriseEdition"] = "EnterpriseEdition";
290
290
  })(exports.KnownDatabaseEditionType || (exports.KnownDatabaseEditionType = {}));
291
+ /** Known values of {@link RepeatCadenceType} that the service accepts. */
292
+ exports.KnownRepeatCadenceType = void 0;
293
+ (function (KnownRepeatCadenceType) {
294
+ /** Repeat one time */
295
+ KnownRepeatCadenceType["OneTime"] = "OneTime";
296
+ /** Repeat weekly */
297
+ KnownRepeatCadenceType["Weekly"] = "Weekly";
298
+ /** Repeat monthly */
299
+ KnownRepeatCadenceType["Monthly"] = "Monthly";
300
+ /** Repeat yearly */
301
+ KnownRepeatCadenceType["Yearly"] = "Yearly";
302
+ })(exports.KnownRepeatCadenceType || (exports.KnownRepeatCadenceType = {}));
291
303
  /** Known values of {@link OpenModeType} that the service accepts. */
292
304
  exports.KnownOpenModeType = void 0;
293
305
  (function (KnownOpenModeType) {
294
- /** READ_ONLY value */
306
+ /** ReadOnly mode */
295
307
  KnownOpenModeType["ReadOnly"] = "ReadOnly";
296
- /** READ_WRITE value */
308
+ /** ReadWrite mode */
297
309
  KnownOpenModeType["ReadWrite"] = "ReadWrite";
298
310
  })(exports.KnownOpenModeType || (exports.KnownOpenModeType = {}));
299
311
  /** Known values of {@link OperationsInsightsStatusType} that the service accepts. */
300
312
  exports.KnownOperationsInsightsStatusType = void 0;
301
313
  (function (KnownOperationsInsightsStatusType) {
302
- /** ENABLING value */
314
+ /** Enabling status */
303
315
  KnownOperationsInsightsStatusType["Enabling"] = "Enabling";
304
- /** ENABLED value */
316
+ /** Enabled status */
305
317
  KnownOperationsInsightsStatusType["Enabled"] = "Enabled";
306
- /** DISABLING value */
318
+ /** Disabling status */
307
319
  KnownOperationsInsightsStatusType["Disabling"] = "Disabling";
308
- /** NOT_ENABLED value */
320
+ /** NotEnabled status */
309
321
  KnownOperationsInsightsStatusType["NotEnabled"] = "NotEnabled";
310
- /** FAILED_ENABLING value */
322
+ /** FailedEnabling status */
311
323
  KnownOperationsInsightsStatusType["FailedEnabling"] = "FailedEnabling";
312
- /** FAILED_DISABLING value */
324
+ /** FailedDisabling status */
313
325
  KnownOperationsInsightsStatusType["FailedDisabling"] = "FailedDisabling";
314
326
  })(exports.KnownOperationsInsightsStatusType || (exports.KnownOperationsInsightsStatusType = {}));
315
327
  /** Known values of {@link PermissionLevelType} that the service accepts. */
316
328
  exports.KnownPermissionLevelType = void 0;
317
329
  (function (KnownPermissionLevelType) {
318
- /** RESTRICTED value */
330
+ /** Restricted permission level */
319
331
  KnownPermissionLevelType["Restricted"] = "Restricted";
320
- /** UNRESTRICTED value */
332
+ /** Unrestricted permission level */
321
333
  KnownPermissionLevelType["Unrestricted"] = "Unrestricted";
322
334
  })(exports.KnownPermissionLevelType || (exports.KnownPermissionLevelType = {}));
323
335
  /** Known values of {@link RoleType} that the service accepts. */
324
336
  exports.KnownRoleType = void 0;
325
337
  (function (KnownRoleType) {
326
- /** PRIMARY value */
338
+ /** Primary role */
327
339
  KnownRoleType["Primary"] = "Primary";
328
- /** STANDBY value */
340
+ /** Standby role */
329
341
  KnownRoleType["Standby"] = "Standby";
330
- /** DISABLED_STANDBY value */
342
+ /** DisabledStandby role */
331
343
  KnownRoleType["DisabledStandby"] = "DisabledStandby";
332
- /** BACKUP_COPY value */
344
+ /** BackupCopy role */
333
345
  KnownRoleType["BackupCopy"] = "BackupCopy";
334
- /** SNAPSHOT_STANDBY value */
346
+ /** SnapshotStandby role */
335
347
  KnownRoleType["SnapshotStandby"] = "SnapshotStandby";
336
348
  })(exports.KnownRoleType || (exports.KnownRoleType = {}));
337
349
  /** Known values of {@link CreatedByType} that the service accepts. */
@@ -349,9 +361,9 @@ exports.KnownCreatedByType = void 0;
349
361
  /** Known values of {@link Preference} that the service accepts. */
350
362
  exports.KnownPreference = void 0;
351
363
  (function (KnownPreference) {
352
- /** NoPreference value */
364
+ /** No preference */
353
365
  KnownPreference["NoPreference"] = "NoPreference";
354
- /** CustomPreference value */
366
+ /** Custom preference */
355
367
  KnownPreference["CustomPreference"] = "CustomPreference";
356
368
  })(exports.KnownPreference || (exports.KnownPreference = {}));
357
369
  /** Known values of {@link MonthName} that the service accepts. */
@@ -385,93 +397,93 @@ exports.KnownMonthName = void 0;
385
397
  /** Known values of {@link PatchingMode} that the service accepts. */
386
398
  exports.KnownPatchingMode = void 0;
387
399
  (function (KnownPatchingMode) {
388
- /** Rolling value */
400
+ /** Rolling patching */
389
401
  KnownPatchingMode["Rolling"] = "Rolling";
390
- /** Non Rolling value */
402
+ /** Non Rolling patching */
391
403
  KnownPatchingMode["NonRolling"] = "NonRolling";
392
404
  })(exports.KnownPatchingMode || (exports.KnownPatchingMode = {}));
393
405
  /** Known values of {@link CloudExadataInfrastructureLifecycleState} that the service accepts. */
394
406
  exports.KnownCloudExadataInfrastructureLifecycleState = void 0;
395
407
  (function (KnownCloudExadataInfrastructureLifecycleState) {
396
- /** PROVISIONING value */
408
+ /** Indicates that resource in Provisioning state */
397
409
  KnownCloudExadataInfrastructureLifecycleState["Provisioning"] = "Provisioning";
398
- /** AVAILABLE value */
410
+ /** Indicates that resource in Available state */
399
411
  KnownCloudExadataInfrastructureLifecycleState["Available"] = "Available";
400
- /** UPDATING value */
412
+ /** Indicates that resource in Updating state */
401
413
  KnownCloudExadataInfrastructureLifecycleState["Updating"] = "Updating";
402
- /** TERMINATING value */
414
+ /** Indicates that resource in Terminating state */
403
415
  KnownCloudExadataInfrastructureLifecycleState["Terminating"] = "Terminating";
404
- /** TERMINATED value */
416
+ /** Indicates that resource in Terminated state */
405
417
  KnownCloudExadataInfrastructureLifecycleState["Terminated"] = "Terminated";
406
- /** MAINTENANCE_IN_PROGRESS value */
418
+ /** Indicates that resource maintenance in progress state */
407
419
  KnownCloudExadataInfrastructureLifecycleState["MaintenanceInProgress"] = "MaintenanceInProgress";
408
- /** FAILED value */
420
+ /** Indicates that resource in Failed state */
409
421
  KnownCloudExadataInfrastructureLifecycleState["Failed"] = "Failed";
410
422
  })(exports.KnownCloudExadataInfrastructureLifecycleState || (exports.KnownCloudExadataInfrastructureLifecycleState = {}));
411
423
  /** Known values of {@link DiskRedundancy} that the service accepts. */
412
424
  exports.KnownDiskRedundancy = void 0;
413
425
  (function (KnownDiskRedundancy) {
414
- /** High value */
426
+ /** High redundancy */
415
427
  KnownDiskRedundancy["High"] = "High";
416
- /** Normal value */
428
+ /** Normal redundancy */
417
429
  KnownDiskRedundancy["Normal"] = "Normal";
418
430
  })(exports.KnownDiskRedundancy || (exports.KnownDiskRedundancy = {}));
419
431
  /** Known values of {@link CloudVmClusterLifecycleState} that the service accepts. */
420
432
  exports.KnownCloudVmClusterLifecycleState = void 0;
421
433
  (function (KnownCloudVmClusterLifecycleState) {
422
- /** PROVISIONING value */
434
+ /** Indicates that resource in Provisioning state */
423
435
  KnownCloudVmClusterLifecycleState["Provisioning"] = "Provisioning";
424
- /** AVAILABLE value */
436
+ /** Indicates that resource in Available state */
425
437
  KnownCloudVmClusterLifecycleState["Available"] = "Available";
426
- /** UPDATING value */
438
+ /** Indicates that resource in Updating state */
427
439
  KnownCloudVmClusterLifecycleState["Updating"] = "Updating";
428
- /** TERMINATING value */
440
+ /** Indicates that resource in Terminating state */
429
441
  KnownCloudVmClusterLifecycleState["Terminating"] = "Terminating";
430
- /** TERMINATED value */
442
+ /** Indicates that resource in Terminated state */
431
443
  KnownCloudVmClusterLifecycleState["Terminated"] = "Terminated";
432
- /** MAINTENANCE_IN_PROGRESS value */
444
+ /** Indicates that resource Maintenance in progress state */
433
445
  KnownCloudVmClusterLifecycleState["MaintenanceInProgress"] = "MaintenanceInProgress";
434
- /** FAILED value */
446
+ /** Indicates that resource in Failed state */
435
447
  KnownCloudVmClusterLifecycleState["Failed"] = "Failed";
436
448
  })(exports.KnownCloudVmClusterLifecycleState || (exports.KnownCloudVmClusterLifecycleState = {}));
437
449
  /** Known values of {@link IormLifecycleState} that the service accepts. */
438
450
  exports.KnownIormLifecycleState = void 0;
439
451
  (function (KnownIormLifecycleState) {
440
- /** BOOTSTRAPPING value */
452
+ /** Indicates that resource in Provisioning state */
441
453
  KnownIormLifecycleState["BootStrapping"] = "BootStrapping";
442
- /** ENABLED value */
454
+ /** Indicates that resource in Enabled state */
443
455
  KnownIormLifecycleState["Enabled"] = "Enabled";
444
- /** DISABLED value */
456
+ /** Indicates that resource in Disabled state */
445
457
  KnownIormLifecycleState["Disabled"] = "Disabled";
446
- /** UPDATING value */
458
+ /** Indicates that resource in Updating state */
447
459
  KnownIormLifecycleState["Updating"] = "Updating";
448
- /** FAILED value */
460
+ /** Indicates that resource in Failed state */
449
461
  KnownIormLifecycleState["Failed"] = "Failed";
450
462
  })(exports.KnownIormLifecycleState || (exports.KnownIormLifecycleState = {}));
451
463
  /** Known values of {@link Objective} that the service accepts. */
452
464
  exports.KnownObjective = void 0;
453
465
  (function (KnownObjective) {
454
- /** LOW_LATENCY value */
466
+ /** Low latency objective */
455
467
  KnownObjective["LowLatency"] = "LowLatency";
456
- /** HIGH_THROUGHPUT value */
468
+ /** High throughput objective */
457
469
  KnownObjective["HighThroughput"] = "HighThroughput";
458
- /** BALANCED value */
470
+ /** Balanced objective */
459
471
  KnownObjective["Balanced"] = "Balanced";
460
- /** AUTO value */
472
+ /** Auto objective */
461
473
  KnownObjective["Auto"] = "Auto";
462
- /** BASIC value */
474
+ /** Basic objective */
463
475
  KnownObjective["Basic"] = "Basic";
464
476
  })(exports.KnownObjective || (exports.KnownObjective = {}));
465
477
  /** Known values of {@link DnsPrivateViewsLifecycleState} that the service accepts. */
466
478
  exports.KnownDnsPrivateViewsLifecycleState = void 0;
467
479
  (function (KnownDnsPrivateViewsLifecycleState) {
468
- /** Active value */
480
+ /** DNS Private View is active */
469
481
  KnownDnsPrivateViewsLifecycleState["Active"] = "Active";
470
- /** Deleted value */
482
+ /** DNS Private View is deleted */
471
483
  KnownDnsPrivateViewsLifecycleState["Deleted"] = "Deleted";
472
- /** Deleting value */
484
+ /** DNS Private View is deleting */
473
485
  KnownDnsPrivateViewsLifecycleState["Deleting"] = "Deleting";
474
- /** Updating value */
486
+ /** DNS Private View is updating */
475
487
  KnownDnsPrivateViewsLifecycleState["Updating"] = "Updating";
476
488
  })(exports.KnownDnsPrivateViewsLifecycleState || (exports.KnownDnsPrivateViewsLifecycleState = {}));
477
489
  /** Known values of {@link ResourceProvisioningState} that the service accepts. */
@@ -487,23 +499,23 @@ exports.KnownResourceProvisioningState = void 0;
487
499
  /** Known values of {@link DnsPrivateZonesLifecycleState} that the service accepts. */
488
500
  exports.KnownDnsPrivateZonesLifecycleState = void 0;
489
501
  (function (KnownDnsPrivateZonesLifecycleState) {
490
- /** Active value */
502
+ /** DNS Private Zones is active */
491
503
  KnownDnsPrivateZonesLifecycleState["Active"] = "Active";
492
- /** Creating value */
504
+ /** DNS Private Zones is creating */
493
505
  KnownDnsPrivateZonesLifecycleState["Creating"] = "Creating";
494
- /** Deleted value */
506
+ /** DNS Private Zones is deleted */
495
507
  KnownDnsPrivateZonesLifecycleState["Deleted"] = "Deleted";
496
- /** Deleting value */
508
+ /** DNS Private Zones is deleting */
497
509
  KnownDnsPrivateZonesLifecycleState["Deleting"] = "Deleting";
498
- /** Updating value */
510
+ /** DNS Private Zones is updating */
499
511
  KnownDnsPrivateZonesLifecycleState["Updating"] = "Updating";
500
512
  })(exports.KnownDnsPrivateZonesLifecycleState || (exports.KnownDnsPrivateZonesLifecycleState = {}));
501
513
  /** Known values of {@link ZoneType} that the service accepts. */
502
514
  exports.KnownZoneType = void 0;
503
515
  (function (KnownZoneType) {
504
- /** Primary value */
516
+ /** Primary zone */
505
517
  KnownZoneType["Primary"] = "Primary";
506
- /** Secondary value */
518
+ /** Secondary zone */
507
519
  KnownZoneType["Secondary"] = "Secondary";
508
520
  })(exports.KnownZoneType || (exports.KnownZoneType = {}));
509
521
  /** Known values of {@link OracleSubscriptionProvisioningState} that the service accepts. */
@@ -519,107 +531,107 @@ exports.KnownOracleSubscriptionProvisioningState = void 0;
519
531
  /** Known values of {@link CloudAccountProvisioningState} that the service accepts. */
520
532
  exports.KnownCloudAccountProvisioningState = void 0;
521
533
  (function (KnownCloudAccountProvisioningState) {
522
- /** Pending value */
534
+ /** Pending - Initial state when Oracle cloud account is not configured */
523
535
  KnownCloudAccountProvisioningState["Pending"] = "Pending";
524
- /** Provisioning value */
536
+ /** Provisioning - State when Oracle cloud account is being provisioned */
525
537
  KnownCloudAccountProvisioningState["Provisioning"] = "Provisioning";
526
- /** Available value */
538
+ /** Available - State when Oracle cloud account cloud linking is complete and it is available */
527
539
  KnownCloudAccountProvisioningState["Available"] = "Available";
528
540
  })(exports.KnownCloudAccountProvisioningState || (exports.KnownCloudAccountProvisioningState = {}));
529
541
  /** Known values of {@link Intent} that the service accepts. */
530
542
  exports.KnownIntent = void 0;
531
543
  (function (KnownIntent) {
532
- /** Retain value */
544
+ /** Retain intent */
533
545
  KnownIntent["Retain"] = "Retain";
534
- /** Reset value */
546
+ /** Reset intent */
535
547
  KnownIntent["Reset"] = "Reset";
536
548
  })(exports.KnownIntent || (exports.KnownIntent = {}));
537
549
  /** Known values of {@link AutonomousDatabaseBackupLifecycleState} that the service accepts. */
538
550
  exports.KnownAutonomousDatabaseBackupLifecycleState = void 0;
539
551
  (function (KnownAutonomousDatabaseBackupLifecycleState) {
540
- /** Creating */
552
+ /** AutonomousDatabase backup is creating */
541
553
  KnownAutonomousDatabaseBackupLifecycleState["Creating"] = "Creating";
542
- /** Active */
554
+ /** AutonomousDatabase backup is active */
543
555
  KnownAutonomousDatabaseBackupLifecycleState["Active"] = "Active";
544
- /** Deleting */
556
+ /** AutonomousDatabase backup is deleting */
545
557
  KnownAutonomousDatabaseBackupLifecycleState["Deleting"] = "Deleting";
546
- /** Failed */
558
+ /** AutonomousDatabase backup is failed */
547
559
  KnownAutonomousDatabaseBackupLifecycleState["Failed"] = "Failed";
548
- /** Updating */
560
+ /** AutonomousDatabase backup is updating */
549
561
  KnownAutonomousDatabaseBackupLifecycleState["Updating"] = "Updating";
550
562
  })(exports.KnownAutonomousDatabaseBackupLifecycleState || (exports.KnownAutonomousDatabaseBackupLifecycleState = {}));
551
563
  /** Known values of {@link AutonomousDatabaseBackupType} that the service accepts. */
552
564
  exports.KnownAutonomousDatabaseBackupType = void 0;
553
565
  (function (KnownAutonomousDatabaseBackupType) {
554
- /** Incremental */
566
+ /** Incremental backup */
555
567
  KnownAutonomousDatabaseBackupType["Incremental"] = "Incremental";
556
- /** Full */
568
+ /** Full backup */
557
569
  KnownAutonomousDatabaseBackupType["Full"] = "Full";
558
- /** LongTerm */
570
+ /** LongTerm backup */
559
571
  KnownAutonomousDatabaseBackupType["LongTerm"] = "LongTerm";
560
572
  })(exports.KnownAutonomousDatabaseBackupType || (exports.KnownAutonomousDatabaseBackupType = {}));
561
573
  /** Known values of {@link GenerateType} that the service accepts. */
562
574
  exports.KnownGenerateType = void 0;
563
575
  (function (KnownGenerateType) {
564
- /** SINGLE value */
576
+ /** Generate single */
565
577
  KnownGenerateType["Single"] = "Single";
566
- /** ALL value */
578
+ /** Generate all */
567
579
  KnownGenerateType["All"] = "All";
568
580
  })(exports.KnownGenerateType || (exports.KnownGenerateType = {}));
569
581
  /** Known values of {@link DbServerPatchingStatus} that the service accepts. */
570
582
  exports.KnownDbServerPatchingStatus = void 0;
571
583
  (function (KnownDbServerPatchingStatus) {
572
- /** SCHEDULED value */
584
+ /** Patching scheduled */
573
585
  KnownDbServerPatchingStatus["Scheduled"] = "Scheduled";
574
- /** MAINTENANCE_IN_PROGRESS value */
586
+ /** Patching in progress */
575
587
  KnownDbServerPatchingStatus["MaintenanceInProgress"] = "MaintenanceInProgress";
576
- /** FAILED value */
588
+ /** Patching failed */
577
589
  KnownDbServerPatchingStatus["Failed"] = "Failed";
578
- /** COMPLETE value */
590
+ /** Patching completed */
579
591
  KnownDbServerPatchingStatus["Complete"] = "Complete";
580
592
  })(exports.KnownDbServerPatchingStatus || (exports.KnownDbServerPatchingStatus = {}));
581
593
  /** Known values of {@link DbServerProvisioningState} that the service accepts. */
582
594
  exports.KnownDbServerProvisioningState = void 0;
583
595
  (function (KnownDbServerProvisioningState) {
584
- /** CREATING value */
596
+ /** Indicates that resource in Creating state */
585
597
  KnownDbServerProvisioningState["Creating"] = "Creating";
586
- /** AVAILABLE value */
598
+ /** Indicates that resource in Available state */
587
599
  KnownDbServerProvisioningState["Available"] = "Available";
588
- /** UNAVAILABLE value */
600
+ /** Indicates that resource in Unavailable state */
589
601
  KnownDbServerProvisioningState["Unavailable"] = "Unavailable";
590
- /** DELETING value */
602
+ /** Indicates that resource in Deleting state */
591
603
  KnownDbServerProvisioningState["Deleting"] = "Deleting";
592
- /** DELETED value */
604
+ /** Indicates that resource in Deleted state */
593
605
  KnownDbServerProvisioningState["Deleted"] = "Deleted";
594
- /** MAINTENANCE_IN_PROGRESS value */
606
+ /** Indicates that resource maintenance in progress state */
595
607
  KnownDbServerProvisioningState["MaintenanceInProgress"] = "MaintenanceInProgress";
596
608
  })(exports.KnownDbServerProvisioningState || (exports.KnownDbServerProvisioningState = {}));
597
609
  /** Known values of {@link DbNodeProvisioningState} that the service accepts. */
598
610
  exports.KnownDbNodeProvisioningState = void 0;
599
611
  (function (KnownDbNodeProvisioningState) {
600
- /** PROVISIONING value */
612
+ /** Indicates that resource in Provisioning state */
601
613
  KnownDbNodeProvisioningState["Provisioning"] = "Provisioning";
602
- /** AVAILABLE value */
614
+ /** Indicates that resource in Available state */
603
615
  KnownDbNodeProvisioningState["Available"] = "Available";
604
- /** UPDATING value */
616
+ /** Indicates that resource in Updating state */
605
617
  KnownDbNodeProvisioningState["Updating"] = "Updating";
606
- /** STOPPING value */
618
+ /** Indicates that resource in Stopping state */
607
619
  KnownDbNodeProvisioningState["Stopping"] = "Stopping";
608
- /** STOPPED value */
620
+ /** Indicates that resource in Stopped state */
609
621
  KnownDbNodeProvisioningState["Stopped"] = "Stopped";
610
- /** STARTING value */
622
+ /** Indicates that resource in Starting state */
611
623
  KnownDbNodeProvisioningState["Starting"] = "Starting";
612
- /** TERMINATING value */
624
+ /** Indicates that resource in Terminating state */
613
625
  KnownDbNodeProvisioningState["Terminating"] = "Terminating";
614
- /** TERMINATED value */
626
+ /** Indicates that resource in Terminated state */
615
627
  KnownDbNodeProvisioningState["Terminated"] = "Terminated";
616
- /** FAILED value */
628
+ /** Indicates that resource in Failed state */
617
629
  KnownDbNodeProvisioningState["Failed"] = "Failed";
618
630
  })(exports.KnownDbNodeProvisioningState || (exports.KnownDbNodeProvisioningState = {}));
619
631
  /** Known values of {@link DbNodeMaintenanceType} that the service accepts. */
620
632
  exports.KnownDbNodeMaintenanceType = void 0;
621
633
  (function (KnownDbNodeMaintenanceType) {
622
- /** Provisioning value */
634
+ /** VMDB reboot migration maintenance type */
623
635
  KnownDbNodeMaintenanceType["VmdbRebootMigration"] = "VmdbRebootMigration";
624
636
  })(exports.KnownDbNodeMaintenanceType || (exports.KnownDbNodeMaintenanceType = {}));
625
637
  /** Known values of {@link DbNodeActionEnum} that the service accepts. */
@@ -637,87 +649,79 @@ exports.KnownDbNodeActionEnum = void 0;
637
649
  /** Known values of {@link VirtualNetworkAddressLifecycleState} that the service accepts. */
638
650
  exports.KnownVirtualNetworkAddressLifecycleState = void 0;
639
651
  (function (KnownVirtualNetworkAddressLifecycleState) {
640
- /** Provisioning value */
652
+ /** Indicates that resource in Provisioning state */
641
653
  KnownVirtualNetworkAddressLifecycleState["Provisioning"] = "Provisioning";
642
- /** Available value */
654
+ /** Indicates that resource in Available state */
643
655
  KnownVirtualNetworkAddressLifecycleState["Available"] = "Available";
644
- /** Terminating value */
656
+ /** Indicates that resource in Terminating state */
645
657
  KnownVirtualNetworkAddressLifecycleState["Terminating"] = "Terminating";
646
- /** Terminated value */
658
+ /** Indicates that resource in Terminated state */
647
659
  KnownVirtualNetworkAddressLifecycleState["Terminated"] = "Terminated";
648
- /** Failed value */
660
+ /** Indicates that resource in Failed state */
649
661
  KnownVirtualNetworkAddressLifecycleState["Failed"] = "Failed";
650
662
  })(exports.KnownVirtualNetworkAddressLifecycleState || (exports.KnownVirtualNetworkAddressLifecycleState = {}));
651
663
  /** Known values of {@link SourceType} that the service accepts. */
652
664
  exports.KnownSourceType = void 0;
653
665
  (function (KnownSourceType) {
654
- /** NONE value */
666
+ /** None source */
655
667
  KnownSourceType["None"] = "None";
656
- /** DATABASE value */
668
+ /** Database source */
657
669
  KnownSourceType["Database"] = "Database";
658
- /** BACKUP_FROM_ID value */
670
+ /** Backup from ID source */
659
671
  KnownSourceType["BackupFromId"] = "BackupFromId";
660
- /** BACKUP_FROM_TIMESTAMP value */
672
+ /** Backup from timestamp source */
661
673
  KnownSourceType["BackupFromTimestamp"] = "BackupFromTimestamp";
662
- /** CLONE_TO_REFRESHABLE value */
674
+ /** Clone to refreshable source */
663
675
  KnownSourceType["CloneToRefreshable"] = "CloneToRefreshable";
664
- /** CROSS_REGION_DATAGUARD value */
676
+ /** Cross region dataguard source */
665
677
  KnownSourceType["CrossRegionDataguard"] = "CrossRegionDataguard";
666
- /** CROSS_REGION_DISASTER_RECOVERY value */
678
+ /** cross region disaster recovery source */
667
679
  KnownSourceType["CrossRegionDisasterRecovery"] = "CrossRegionDisasterRecovery";
668
680
  })(exports.KnownSourceType || (exports.KnownSourceType = {}));
669
681
  /** Known values of {@link CloneType} that the service accepts. */
670
682
  exports.KnownCloneType = void 0;
671
683
  (function (KnownCloneType) {
672
- /** FULL value */
684
+ /** Full clone */
673
685
  KnownCloneType["Full"] = "Full";
674
- /** METADATA value */
686
+ /** Metadata only */
675
687
  KnownCloneType["Metadata"] = "Metadata";
676
688
  })(exports.KnownCloneType || (exports.KnownCloneType = {}));
677
689
  /** Known values of {@link RefreshableModelType} that the service accepts. */
678
690
  exports.KnownRefreshableModelType = void 0;
679
691
  (function (KnownRefreshableModelType) {
680
- /** AUTOMATIC value */
692
+ /** Automatic refreshable model type */
681
693
  KnownRefreshableModelType["Automatic"] = "Automatic";
682
- /** MANUAL value */
694
+ /** Manual refreshable model type */
683
695
  KnownRefreshableModelType["Manual"] = "Manual";
684
696
  })(exports.KnownRefreshableModelType || (exports.KnownRefreshableModelType = {}));
685
697
  /** Known values of {@link RefreshableStatusType} that the service accepts. */
686
698
  exports.KnownRefreshableStatusType = void 0;
687
699
  (function (KnownRefreshableStatusType) {
688
- /** REFRESHING value */
700
+ /** Refreshing status */
689
701
  KnownRefreshableStatusType["Refreshing"] = "Refreshing";
690
- /** NOT_REFRESHING value */
702
+ /** NotRefreshing status */
691
703
  KnownRefreshableStatusType["NotRefreshing"] = "NotRefreshing";
692
704
  })(exports.KnownRefreshableStatusType || (exports.KnownRefreshableStatusType = {}));
693
705
  /** Known values of {@link ValidationStatus} that the service accepts. */
694
706
  exports.KnownValidationStatus = void 0;
695
707
  (function (KnownValidationStatus) {
696
- /** Succeeded value */
708
+ /** Validation succeeded */
697
709
  KnownValidationStatus["Succeeded"] = "Succeeded";
698
- /** Failed value */
710
+ /** Validation failed */
699
711
  KnownValidationStatus["Failed"] = "Failed";
700
712
  })(exports.KnownValidationStatus || (exports.KnownValidationStatus = {}));
701
713
  /** Known values of {@link UpdateAction} that the service accepts. */
702
714
  exports.KnownUpdateAction = void 0;
703
715
  (function (KnownUpdateAction) {
704
- /** ROLLING_APPLY value */
716
+ /** Rolling apply action */
705
717
  KnownUpdateAction["RollingApply"] = "RollingApply";
706
- /** NON_ROLLING_APPLY value */
718
+ /** Non rolling apply action */
707
719
  KnownUpdateAction["NonRollingApply"] = "NonRollingApply";
708
- /** PRECHECK value */
720
+ /** Pre-check action */
709
721
  KnownUpdateAction["PreCheck"] = "PreCheck";
710
- /** ROLLBACK value */
722
+ /** Rollback action */
711
723
  KnownUpdateAction["RollBack"] = "RollBack";
712
724
  })(exports.KnownUpdateAction || (exports.KnownUpdateAction = {}));
713
- /** Known values of {@link Versions} that the service accepts. */
714
- exports.KnownVersions = void 0;
715
- (function (KnownVersions) {
716
- /** 2023-09-01-preview */
717
- KnownVersions["V20230901"] = "2023-09-01-preview";
718
- /** internal api - RPaaS to ORP */
719
- KnownVersions["VInternalApi"] = "internal";
720
- })(exports.KnownVersions || (exports.KnownVersions = {}));
721
725
 
722
726
  /*
723
727
  * Copyright (c) Microsoft Corporation.
@@ -946,7 +950,6 @@ const AutonomousDatabaseListResult = {
946
950
  },
947
951
  nextLink: {
948
952
  serializedName: "nextLink",
949
- readOnly: true,
950
953
  type: {
951
954
  name: "String",
952
955
  },
@@ -1326,6 +1329,20 @@ const AutonomousDatabaseBaseProperties = {
1326
1329
  name: "Number",
1327
1330
  },
1328
1331
  },
1332
+ nextLongTermBackupTimeStamp: {
1333
+ serializedName: "nextLongTermBackupTimeStamp",
1334
+ readOnly: true,
1335
+ type: {
1336
+ name: "DateTime",
1337
+ },
1338
+ },
1339
+ longTermBackupSchedule: {
1340
+ serializedName: "longTermBackupSchedule",
1341
+ type: {
1342
+ name: "Composite",
1343
+ className: "LongTermBackUpScheduleDetails",
1344
+ },
1345
+ },
1329
1346
  isPreview: {
1330
1347
  serializedName: "isPreview",
1331
1348
  readOnly: true,
@@ -1918,6 +1935,42 @@ const ConnectionUrlType = {
1918
1935
  },
1919
1936
  },
1920
1937
  };
1938
+ const LongTermBackUpScheduleDetails = {
1939
+ type: {
1940
+ name: "Composite",
1941
+ className: "LongTermBackUpScheduleDetails",
1942
+ modelProperties: {
1943
+ repeatCadence: {
1944
+ serializedName: "repeatCadence",
1945
+ type: {
1946
+ name: "String",
1947
+ },
1948
+ },
1949
+ timeOfBackup: {
1950
+ serializedName: "timeOfBackup",
1951
+ type: {
1952
+ name: "DateTime",
1953
+ },
1954
+ },
1955
+ retentionPeriodInDays: {
1956
+ constraints: {
1957
+ InclusiveMaximum: 2558,
1958
+ InclusiveMinimum: 90,
1959
+ },
1960
+ serializedName: "retentionPeriodInDays",
1961
+ type: {
1962
+ name: "Number",
1963
+ },
1964
+ },
1965
+ isDisabled: {
1966
+ serializedName: "isDisabled",
1967
+ type: {
1968
+ name: "Boolean",
1969
+ },
1970
+ },
1971
+ },
1972
+ },
1973
+ };
1921
1974
  const Resource = {
1922
1975
  type: {
1923
1976
  name: "Composite",
@@ -2018,7 +2071,6 @@ const CloudExadataInfrastructureListResult = {
2018
2071
  },
2019
2072
  nextLink: {
2020
2073
  serializedName: "nextLink",
2021
- readOnly: true,
2022
2074
  type: {
2023
2075
  name: "String",
2024
2076
  },
@@ -2451,7 +2503,6 @@ const CloudVmClusterListResult = {
2451
2503
  },
2452
2504
  nextLink: {
2453
2505
  serializedName: "nextLink",
2454
- readOnly: true,
2455
2506
  type: {
2456
2507
  name: "String",
2457
2508
  },
@@ -2620,7 +2671,6 @@ const CloudVmClusterProperties = {
2620
2671
  MinLength: 1,
2621
2672
  },
2622
2673
  serializedName: "systemVersion",
2623
- readOnly: true,
2624
2674
  type: {
2625
2675
  name: "String",
2626
2676
  },
@@ -2785,7 +2835,7 @@ const CloudVmClusterProperties = {
2785
2835
  element: {
2786
2836
  type: {
2787
2837
  name: "Composite",
2788
- className: "NSGCidr",
2838
+ className: "NsgCidr",
2789
2839
  },
2790
2840
  },
2791
2841
  },
@@ -2881,10 +2931,10 @@ const CloudVmClusterProperties = {
2881
2931
  },
2882
2932
  },
2883
2933
  };
2884
- const NSGCidr = {
2934
+ const NsgCidr = {
2885
2935
  type: {
2886
2936
  name: "Composite",
2887
- className: "NSGCidr",
2937
+ className: "NsgCidr",
2888
2938
  modelProperties: {
2889
2939
  source: {
2890
2940
  constraints: {
@@ -3054,7 +3104,6 @@ const AutonomousDatabaseCharacterSetListResult = {
3054
3104
  },
3055
3105
  nextLink: {
3056
3106
  serializedName: "nextLink",
3057
- readOnly: true,
3058
3107
  type: {
3059
3108
  name: "String",
3060
3109
  },
@@ -3102,7 +3151,6 @@ const AutonomousDatabaseNationalCharacterSetListResult = {
3102
3151
  },
3103
3152
  nextLink: {
3104
3153
  serializedName: "nextLink",
3105
- readOnly: true,
3106
3154
  type: {
3107
3155
  name: "String",
3108
3156
  },
@@ -3150,7 +3198,6 @@ const AutonomousDbVersionListResult = {
3150
3198
  },
3151
3199
  nextLink: {
3152
3200
  serializedName: "nextLink",
3153
- readOnly: true,
3154
3201
  type: {
3155
3202
  name: "String",
3156
3203
  },
@@ -3233,7 +3280,6 @@ const DbSystemShapeListResult = {
3233
3280
  },
3234
3281
  nextLink: {
3235
3282
  serializedName: "nextLink",
3236
- readOnly: true,
3237
3283
  type: {
3238
3284
  name: "String",
3239
3285
  },
@@ -3414,7 +3460,6 @@ const DnsPrivateViewListResult = {
3414
3460
  },
3415
3461
  nextLink: {
3416
3462
  serializedName: "nextLink",
3417
- readOnly: true,
3418
3463
  type: {
3419
3464
  name: "String",
3420
3465
  },
@@ -3515,7 +3560,6 @@ const DnsPrivateZoneListResult = {
3515
3560
  },
3516
3561
  nextLink: {
3517
3562
  serializedName: "nextLink",
3518
- readOnly: true,
3519
3563
  type: {
3520
3564
  name: "String",
3521
3565
  },
@@ -3636,7 +3680,6 @@ const GiVersionListResult = {
3636
3680
  },
3637
3681
  nextLink: {
3638
3682
  serializedName: "nextLink",
3639
- readOnly: true,
3640
3683
  type: {
3641
3684
  name: "String",
3642
3685
  },
@@ -3664,6 +3707,49 @@ const GiVersionProperties = {
3664
3707
  },
3665
3708
  },
3666
3709
  };
3710
+ const SystemVersionListResult = {
3711
+ type: {
3712
+ name: "Composite",
3713
+ className: "SystemVersionListResult",
3714
+ modelProperties: {
3715
+ value: {
3716
+ serializedName: "value",
3717
+ required: true,
3718
+ type: {
3719
+ name: "Sequence",
3720
+ element: {
3721
+ type: {
3722
+ name: "Composite",
3723
+ className: "SystemVersion",
3724
+ },
3725
+ },
3726
+ },
3727
+ },
3728
+ nextLink: {
3729
+ serializedName: "nextLink",
3730
+ type: {
3731
+ name: "String",
3732
+ },
3733
+ },
3734
+ },
3735
+ },
3736
+ };
3737
+ const SystemVersionProperties = {
3738
+ type: {
3739
+ name: "Composite",
3740
+ className: "SystemVersionProperties",
3741
+ modelProperties: {
3742
+ systemVersion: {
3743
+ serializedName: "systemVersion",
3744
+ required: true,
3745
+ readOnly: true,
3746
+ type: {
3747
+ name: "String",
3748
+ },
3749
+ },
3750
+ },
3751
+ },
3752
+ };
3667
3753
  const OracleSubscriptionListResult = {
3668
3754
  type: {
3669
3755
  name: "Composite",
@@ -3684,7 +3770,6 @@ const OracleSubscriptionListResult = {
3684
3770
  },
3685
3771
  nextLink: {
3686
3772
  serializedName: "nextLink",
3687
- readOnly: true,
3688
3773
  type: {
3689
3774
  name: "String",
3690
3775
  },
@@ -3800,7 +3885,7 @@ const OracleSubscriptionUpdate = {
3800
3885
  serializedName: "plan",
3801
3886
  type: {
3802
3887
  name: "Composite",
3803
- className: "ResourcePlanTypeUpdate",
3888
+ className: "PlanUpdate",
3804
3889
  },
3805
3890
  },
3806
3891
  properties: {
@@ -3813,10 +3898,10 @@ const OracleSubscriptionUpdate = {
3813
3898
  },
3814
3899
  },
3815
3900
  };
3816
- const ResourcePlanTypeUpdate = {
3901
+ const PlanUpdate = {
3817
3902
  type: {
3818
3903
  name: "Composite",
3819
- className: "ResourcePlanTypeUpdate",
3904
+ className: "PlanUpdate",
3820
3905
  modelProperties: {
3821
3906
  name: {
3822
3907
  serializedName: "name",
@@ -4161,6 +4246,13 @@ const AutonomousDatabaseUpdateProperties = {
4161
4246
  name: "String",
4162
4247
  },
4163
4248
  },
4249
+ longTermBackupSchedule: {
4250
+ serializedName: "longTermBackupSchedule",
4251
+ type: {
4252
+ name: "Composite",
4253
+ className: "LongTermBackUpScheduleDetails",
4254
+ },
4255
+ },
4164
4256
  localAdgAutoFailoverMaxDataLossLimit: {
4165
4257
  constraints: {
4166
4258
  InclusiveMaximum: 3600,
@@ -4282,7 +4374,6 @@ const AutonomousDatabaseBackupListResult = {
4282
4374
  },
4283
4375
  nextLink: {
4284
4376
  serializedName: "nextLink",
4285
- readOnly: true,
4286
4377
  type: {
4287
4378
  name: "String",
4288
4379
  },
@@ -4295,16 +4386,19 @@ const AutonomousDatabaseBackupProperties = {
4295
4386
  name: "Composite",
4296
4387
  className: "AutonomousDatabaseBackupProperties",
4297
4388
  modelProperties: {
4298
- autonomousDatabaseId: {
4299
- serializedName: "autonomousDatabaseId",
4300
- required: true,
4389
+ autonomousDatabaseOcid: {
4390
+ constraints: {
4391
+ MaxLength: 255,
4392
+ MinLength: 1,
4393
+ },
4394
+ serializedName: "autonomousDatabaseOcid",
4301
4395
  readOnly: true,
4302
4396
  type: {
4303
4397
  name: "String",
4304
4398
  },
4305
4399
  },
4306
- databaseSizeInTBs: {
4307
- serializedName: "databaseSizeInTBs",
4400
+ databaseSizeInTbs: {
4401
+ serializedName: "databaseSizeInTbs",
4308
4402
  readOnly: true,
4309
4403
  type: {
4310
4404
  name: "Number",
@@ -4365,15 +4459,15 @@ const AutonomousDatabaseBackupProperties = {
4365
4459
  retentionPeriodInDays: {
4366
4460
  constraints: {
4367
4461
  InclusiveMaximum: 3650,
4368
- InclusiveMinimum: 90,
4462
+ InclusiveMinimum: 60,
4369
4463
  },
4370
4464
  serializedName: "retentionPeriodInDays",
4371
4465
  type: {
4372
4466
  name: "Number",
4373
4467
  },
4374
4468
  },
4375
- sizeInTBs: {
4376
- serializedName: "sizeInTBs",
4469
+ sizeInTbs: {
4470
+ serializedName: "sizeInTbs",
4377
4471
  readOnly: true,
4378
4472
  type: {
4379
4473
  name: "Number",
@@ -4386,6 +4480,13 @@ const AutonomousDatabaseBackupProperties = {
4386
4480
  name: "DateTime",
4387
4481
  },
4388
4482
  },
4483
+ timeStarted: {
4484
+ serializedName: "timeStarted",
4485
+ readOnly: true,
4486
+ type: {
4487
+ name: "String",
4488
+ },
4489
+ },
4389
4490
  timeEnded: {
4390
4491
  serializedName: "timeEnded",
4391
4492
  readOnly: true,
@@ -4393,8 +4494,8 @@ const AutonomousDatabaseBackupProperties = {
4393
4494
  name: "String",
4394
4495
  },
4395
4496
  },
4396
- type: {
4397
- serializedName: "type",
4497
+ backupType: {
4498
+ serializedName: "backupType",
4398
4499
  readOnly: true,
4399
4500
  type: {
4400
4501
  name: "String",
@@ -4433,7 +4534,7 @@ const AutonomousDatabaseBackupUpdateProperties = {
4433
4534
  retentionPeriodInDays: {
4434
4535
  constraints: {
4435
4536
  InclusiveMaximum: 3650,
4436
- InclusiveMinimum: 90,
4537
+ InclusiveMinimum: 60,
4437
4538
  },
4438
4539
  serializedName: "retentionPeriodInDays",
4439
4540
  type: {
@@ -4503,6 +4604,21 @@ const AutonomousDatabaseWalletFile = {
4503
4604
  },
4504
4605
  },
4505
4606
  };
4607
+ const RestoreAutonomousDatabaseDetails = {
4608
+ type: {
4609
+ name: "Composite",
4610
+ className: "RestoreAutonomousDatabaseDetails",
4611
+ modelProperties: {
4612
+ timestamp: {
4613
+ serializedName: "timestamp",
4614
+ required: true,
4615
+ type: {
4616
+ name: "DateTime",
4617
+ },
4618
+ },
4619
+ },
4620
+ },
4621
+ };
4506
4622
  const CloudExadataInfrastructureUpdate = {
4507
4623
  type: {
4508
4624
  name: "Composite",
@@ -4605,7 +4721,6 @@ const DbServerListResult = {
4605
4721
  },
4606
4722
  nextLink: {
4607
4723
  serializedName: "nextLink",
4608
- readOnly: true,
4609
4724
  type: {
4610
4725
  name: "String",
4611
4726
  },
@@ -5016,7 +5131,6 @@ const DbNodeListResult = {
5016
5131
  },
5017
5132
  nextLink: {
5018
5133
  serializedName: "nextLink",
5019
- readOnly: true,
5020
5134
  type: {
5021
5135
  name: "String",
5022
5136
  },
@@ -5351,7 +5465,6 @@ const VirtualNetworkAddressListResult = {
5351
5465
  },
5352
5466
  nextLink: {
5353
5467
  serializedName: "nextLink",
5354
- readOnly: true,
5355
5468
  type: {
5356
5469
  name: "String",
5357
5470
  },
@@ -5429,6 +5542,34 @@ const VirtualNetworkAddressProperties = {
5429
5542
  },
5430
5543
  },
5431
5544
  };
5545
+ const SystemVersionsFilter = {
5546
+ type: {
5547
+ name: "Composite",
5548
+ className: "SystemVersionsFilter",
5549
+ modelProperties: {
5550
+ giVersion: {
5551
+ serializedName: "giVersion",
5552
+ required: true,
5553
+ type: {
5554
+ name: "String",
5555
+ },
5556
+ },
5557
+ shape: {
5558
+ serializedName: "shape",
5559
+ required: true,
5560
+ type: {
5561
+ name: "String",
5562
+ },
5563
+ },
5564
+ isLatestVersion: {
5565
+ serializedName: "isLatestVersion",
5566
+ type: {
5567
+ name: "Boolean",
5568
+ },
5569
+ },
5570
+ },
5571
+ },
5572
+ };
5432
5573
  const ValidationError = {
5433
5574
  type: {
5434
5575
  name: "Composite",
@@ -5706,6 +5847,19 @@ const GiVersion = {
5706
5847
  } }),
5707
5848
  },
5708
5849
  };
5850
+ const SystemVersion = {
5851
+ type: {
5852
+ name: "Composite",
5853
+ className: "SystemVersion",
5854
+ modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { properties: {
5855
+ serializedName: "properties",
5856
+ type: {
5857
+ name: "Composite",
5858
+ className: "SystemVersionProperties",
5859
+ },
5860
+ } }),
5861
+ },
5862
+ };
5709
5863
  const OracleSubscription = {
5710
5864
  type: {
5711
5865
  name: "Composite",
@@ -5796,18 +5950,18 @@ const AutonomousDatabasesUpdateHeaders = {
5796
5950
  name: "Composite",
5797
5951
  className: "AutonomousDatabasesUpdateHeaders",
5798
5952
  modelProperties: {
5799
- retryAfter: {
5800
- serializedName: "retry-after",
5801
- type: {
5802
- name: "Number",
5803
- },
5804
- },
5805
5953
  location: {
5806
5954
  serializedName: "location",
5807
5955
  type: {
5808
5956
  name: "String",
5809
5957
  },
5810
5958
  },
5959
+ retryAfter: {
5960
+ serializedName: "retry-after",
5961
+ type: {
5962
+ name: "Number",
5963
+ },
5964
+ },
5811
5965
  },
5812
5966
  },
5813
5967
  };
@@ -5816,18 +5970,18 @@ const AutonomousDatabasesDeleteHeaders = {
5816
5970
  name: "Composite",
5817
5971
  className: "AutonomousDatabasesDeleteHeaders",
5818
5972
  modelProperties: {
5819
- retryAfter: {
5820
- serializedName: "retry-after",
5821
- type: {
5822
- name: "Number",
5823
- },
5824
- },
5825
5973
  location: {
5826
5974
  serializedName: "location",
5827
5975
  type: {
5828
5976
  name: "String",
5829
5977
  },
5830
5978
  },
5979
+ retryAfter: {
5980
+ serializedName: "retry-after",
5981
+ type: {
5982
+ name: "Number",
5983
+ },
5984
+ },
5831
5985
  },
5832
5986
  },
5833
5987
  };
@@ -5836,38 +5990,78 @@ const AutonomousDatabasesFailoverHeaders = {
5836
5990
  name: "Composite",
5837
5991
  className: "AutonomousDatabasesFailoverHeaders",
5838
5992
  modelProperties: {
5993
+ location: {
5994
+ serializedName: "location",
5995
+ type: {
5996
+ name: "String",
5997
+ },
5998
+ },
5839
5999
  retryAfter: {
5840
6000
  serializedName: "retry-after",
5841
6001
  type: {
5842
6002
  name: "Number",
5843
6003
  },
5844
6004
  },
6005
+ },
6006
+ },
6007
+ };
6008
+ const AutonomousDatabasesRestoreHeaders = {
6009
+ type: {
6010
+ name: "Composite",
6011
+ className: "AutonomousDatabasesRestoreHeaders",
6012
+ modelProperties: {
5845
6013
  location: {
5846
6014
  serializedName: "location",
5847
6015
  type: {
5848
6016
  name: "String",
5849
6017
  },
5850
6018
  },
6019
+ retryAfter: {
6020
+ serializedName: "retry-after",
6021
+ type: {
6022
+ name: "Number",
6023
+ },
6024
+ },
5851
6025
  },
5852
6026
  },
5853
6027
  };
5854
- const AutonomousDatabasesSwitchoverHeaders = {
6028
+ const AutonomousDatabasesShrinkHeaders = {
5855
6029
  type: {
5856
6030
  name: "Composite",
5857
- className: "AutonomousDatabasesSwitchoverHeaders",
6031
+ className: "AutonomousDatabasesShrinkHeaders",
5858
6032
  modelProperties: {
6033
+ location: {
6034
+ serializedName: "location",
6035
+ type: {
6036
+ name: "String",
6037
+ },
6038
+ },
5859
6039
  retryAfter: {
5860
6040
  serializedName: "retry-after",
5861
6041
  type: {
5862
6042
  name: "Number",
5863
6043
  },
5864
6044
  },
6045
+ },
6046
+ },
6047
+ };
6048
+ const AutonomousDatabasesSwitchoverHeaders = {
6049
+ type: {
6050
+ name: "Composite",
6051
+ className: "AutonomousDatabasesSwitchoverHeaders",
6052
+ modelProperties: {
5865
6053
  location: {
5866
6054
  serializedName: "location",
5867
6055
  type: {
5868
6056
  name: "String",
5869
6057
  },
5870
6058
  },
6059
+ retryAfter: {
6060
+ serializedName: "retry-after",
6061
+ type: {
6062
+ name: "Number",
6063
+ },
6064
+ },
5871
6065
  },
5872
6066
  },
5873
6067
  };
@@ -5890,18 +6084,18 @@ const CloudExadataInfrastructuresUpdateHeaders = {
5890
6084
  name: "Composite",
5891
6085
  className: "CloudExadataInfrastructuresUpdateHeaders",
5892
6086
  modelProperties: {
5893
- retryAfter: {
5894
- serializedName: "retry-after",
5895
- type: {
5896
- name: "Number",
5897
- },
5898
- },
5899
6087
  location: {
5900
6088
  serializedName: "location",
5901
6089
  type: {
5902
6090
  name: "String",
5903
6091
  },
5904
6092
  },
6093
+ retryAfter: {
6094
+ serializedName: "retry-after",
6095
+ type: {
6096
+ name: "Number",
6097
+ },
6098
+ },
5905
6099
  },
5906
6100
  },
5907
6101
  };
@@ -5910,18 +6104,18 @@ const CloudExadataInfrastructuresDeleteHeaders = {
5910
6104
  name: "Composite",
5911
6105
  className: "CloudExadataInfrastructuresDeleteHeaders",
5912
6106
  modelProperties: {
5913
- retryAfter: {
5914
- serializedName: "retry-after",
5915
- type: {
5916
- name: "Number",
5917
- },
5918
- },
5919
6107
  location: {
5920
6108
  serializedName: "location",
5921
6109
  type: {
5922
6110
  name: "String",
5923
6111
  },
5924
6112
  },
6113
+ retryAfter: {
6114
+ serializedName: "retry-after",
6115
+ type: {
6116
+ name: "Number",
6117
+ },
6118
+ },
5925
6119
  },
5926
6120
  },
5927
6121
  };
@@ -5930,18 +6124,18 @@ const CloudExadataInfrastructuresAddStorageCapacityHeaders = {
5930
6124
  name: "Composite",
5931
6125
  className: "CloudExadataInfrastructuresAddStorageCapacityHeaders",
5932
6126
  modelProperties: {
5933
- retryAfter: {
5934
- serializedName: "retry-after",
5935
- type: {
5936
- name: "Number",
5937
- },
5938
- },
5939
6127
  location: {
5940
6128
  serializedName: "location",
5941
6129
  type: {
5942
6130
  name: "String",
5943
6131
  },
5944
6132
  },
6133
+ retryAfter: {
6134
+ serializedName: "retry-after",
6135
+ type: {
6136
+ name: "Number",
6137
+ },
6138
+ },
5945
6139
  },
5946
6140
  },
5947
6141
  };
@@ -5964,18 +6158,18 @@ const CloudVmClustersUpdateHeaders = {
5964
6158
  name: "Composite",
5965
6159
  className: "CloudVmClustersUpdateHeaders",
5966
6160
  modelProperties: {
5967
- retryAfter: {
5968
- serializedName: "retry-after",
5969
- type: {
5970
- name: "Number",
5971
- },
5972
- },
5973
6161
  location: {
5974
6162
  serializedName: "location",
5975
6163
  type: {
5976
6164
  name: "String",
5977
6165
  },
5978
6166
  },
6167
+ retryAfter: {
6168
+ serializedName: "retry-after",
6169
+ type: {
6170
+ name: "Number",
6171
+ },
6172
+ },
5979
6173
  },
5980
6174
  },
5981
6175
  };
@@ -5984,18 +6178,18 @@ const CloudVmClustersDeleteHeaders = {
5984
6178
  name: "Composite",
5985
6179
  className: "CloudVmClustersDeleteHeaders",
5986
6180
  modelProperties: {
5987
- retryAfter: {
5988
- serializedName: "retry-after",
5989
- type: {
5990
- name: "Number",
5991
- },
5992
- },
5993
6181
  location: {
5994
6182
  serializedName: "location",
5995
6183
  type: {
5996
6184
  name: "String",
5997
6185
  },
5998
6186
  },
6187
+ retryAfter: {
6188
+ serializedName: "retry-after",
6189
+ type: {
6190
+ name: "Number",
6191
+ },
6192
+ },
5999
6193
  },
6000
6194
  },
6001
6195
  };
@@ -6004,18 +6198,18 @@ const CloudVmClustersAddVmsHeaders = {
6004
6198
  name: "Composite",
6005
6199
  className: "CloudVmClustersAddVmsHeaders",
6006
6200
  modelProperties: {
6007
- retryAfter: {
6008
- serializedName: "retry-after",
6009
- type: {
6010
- name: "Number",
6011
- },
6012
- },
6013
6201
  location: {
6014
6202
  serializedName: "location",
6015
6203
  type: {
6016
6204
  name: "String",
6017
6205
  },
6018
6206
  },
6207
+ retryAfter: {
6208
+ serializedName: "retry-after",
6209
+ type: {
6210
+ name: "Number",
6211
+ },
6212
+ },
6019
6213
  },
6020
6214
  },
6021
6215
  };
@@ -6024,18 +6218,18 @@ const CloudVmClustersRemoveVmsHeaders = {
6024
6218
  name: "Composite",
6025
6219
  className: "CloudVmClustersRemoveVmsHeaders",
6026
6220
  modelProperties: {
6027
- retryAfter: {
6028
- serializedName: "retry-after",
6029
- type: {
6030
- name: "Number",
6031
- },
6032
- },
6033
6221
  location: {
6034
6222
  serializedName: "location",
6035
6223
  type: {
6036
6224
  name: "String",
6037
6225
  },
6038
6226
  },
6227
+ retryAfter: {
6228
+ serializedName: "retry-after",
6229
+ type: {
6230
+ name: "Number",
6231
+ },
6232
+ },
6039
6233
  },
6040
6234
  },
6041
6235
  };
@@ -6058,18 +6252,18 @@ const OracleSubscriptionsUpdateHeaders = {
6058
6252
  name: "Composite",
6059
6253
  className: "OracleSubscriptionsUpdateHeaders",
6060
6254
  modelProperties: {
6061
- retryAfter: {
6062
- serializedName: "retry-after",
6063
- type: {
6064
- name: "Number",
6065
- },
6066
- },
6067
6255
  location: {
6068
6256
  serializedName: "location",
6069
6257
  type: {
6070
6258
  name: "String",
6071
6259
  },
6072
6260
  },
6261
+ retryAfter: {
6262
+ serializedName: "retry-after",
6263
+ type: {
6264
+ name: "Number",
6265
+ },
6266
+ },
6073
6267
  },
6074
6268
  },
6075
6269
  };
@@ -6078,18 +6272,18 @@ const OracleSubscriptionsDeleteHeaders = {
6078
6272
  name: "Composite",
6079
6273
  className: "OracleSubscriptionsDeleteHeaders",
6080
6274
  modelProperties: {
6081
- retryAfter: {
6082
- serializedName: "retry-after",
6083
- type: {
6084
- name: "Number",
6085
- },
6086
- },
6087
6275
  location: {
6088
6276
  serializedName: "location",
6089
6277
  type: {
6090
6278
  name: "String",
6091
6279
  },
6092
6280
  },
6281
+ retryAfter: {
6282
+ serializedName: "retry-after",
6283
+ type: {
6284
+ name: "Number",
6285
+ },
6286
+ },
6093
6287
  },
6094
6288
  },
6095
6289
  };
@@ -6098,18 +6292,18 @@ const OracleSubscriptionsListActivationLinksHeaders = {
6098
6292
  name: "Composite",
6099
6293
  className: "OracleSubscriptionsListActivationLinksHeaders",
6100
6294
  modelProperties: {
6101
- retryAfter: {
6102
- serializedName: "retry-after",
6103
- type: {
6104
- name: "Number",
6105
- },
6106
- },
6107
6295
  location: {
6108
6296
  serializedName: "location",
6109
6297
  type: {
6110
6298
  name: "String",
6111
6299
  },
6112
6300
  },
6301
+ retryAfter: {
6302
+ serializedName: "retry-after",
6303
+ type: {
6304
+ name: "Number",
6305
+ },
6306
+ },
6113
6307
  },
6114
6308
  },
6115
6309
  };
@@ -6118,18 +6312,18 @@ const OracleSubscriptionsListCloudAccountDetailsHeaders = {
6118
6312
  name: "Composite",
6119
6313
  className: "OracleSubscriptionsListCloudAccountDetailsHeaders",
6120
6314
  modelProperties: {
6121
- retryAfter: {
6122
- serializedName: "retry-after",
6123
- type: {
6124
- name: "Number",
6125
- },
6126
- },
6127
6315
  location: {
6128
6316
  serializedName: "location",
6129
6317
  type: {
6130
6318
  name: "String",
6131
6319
  },
6132
6320
  },
6321
+ retryAfter: {
6322
+ serializedName: "retry-after",
6323
+ type: {
6324
+ name: "Number",
6325
+ },
6326
+ },
6133
6327
  },
6134
6328
  },
6135
6329
  };
@@ -6138,18 +6332,18 @@ const OracleSubscriptionsListSaasSubscriptionDetailsHeaders = {
6138
6332
  name: "Composite",
6139
6333
  className: "OracleSubscriptionsListSaasSubscriptionDetailsHeaders",
6140
6334
  modelProperties: {
6141
- retryAfter: {
6142
- serializedName: "retry-after",
6143
- type: {
6144
- name: "Number",
6145
- },
6146
- },
6147
6335
  location: {
6148
6336
  serializedName: "location",
6149
6337
  type: {
6150
6338
  name: "String",
6151
6339
  },
6152
6340
  },
6341
+ retryAfter: {
6342
+ serializedName: "retry-after",
6343
+ type: {
6344
+ name: "Number",
6345
+ },
6346
+ },
6153
6347
  },
6154
6348
  },
6155
6349
  };
@@ -6172,18 +6366,18 @@ const AutonomousDatabaseBackupsUpdateHeaders = {
6172
6366
  name: "Composite",
6173
6367
  className: "AutonomousDatabaseBackupsUpdateHeaders",
6174
6368
  modelProperties: {
6175
- retryAfter: {
6176
- serializedName: "retry-after",
6177
- type: {
6178
- name: "Number",
6179
- },
6180
- },
6181
6369
  location: {
6182
6370
  serializedName: "location",
6183
6371
  type: {
6184
6372
  name: "String",
6185
6373
  },
6186
6374
  },
6375
+ retryAfter: {
6376
+ serializedName: "retry-after",
6377
+ type: {
6378
+ name: "Number",
6379
+ },
6380
+ },
6187
6381
  },
6188
6382
  },
6189
6383
  };
@@ -6192,18 +6386,18 @@ const AutonomousDatabaseBackupsDeleteHeaders = {
6192
6386
  name: "Composite",
6193
6387
  className: "AutonomousDatabaseBackupsDeleteHeaders",
6194
6388
  modelProperties: {
6195
- retryAfter: {
6196
- serializedName: "retry-after",
6197
- type: {
6198
- name: "Number",
6199
- },
6200
- },
6201
6389
  location: {
6202
6390
  serializedName: "location",
6203
6391
  type: {
6204
6392
  name: "String",
6205
6393
  },
6206
6394
  },
6395
+ retryAfter: {
6396
+ serializedName: "retry-after",
6397
+ type: {
6398
+ name: "Number",
6399
+ },
6400
+ },
6207
6401
  },
6208
6402
  },
6209
6403
  };
@@ -6212,18 +6406,18 @@ const DbNodesActionHeaders = {
6212
6406
  name: "Composite",
6213
6407
  className: "DbNodesActionHeaders",
6214
6408
  modelProperties: {
6215
- retryAfter: {
6216
- serializedName: "retry-after",
6217
- type: {
6218
- name: "Number",
6219
- },
6220
- },
6221
6409
  location: {
6222
6410
  serializedName: "location",
6223
6411
  type: {
6224
6412
  name: "String",
6225
6413
  },
6226
6414
  },
6415
+ retryAfter: {
6416
+ serializedName: "retry-after",
6417
+ type: {
6418
+ name: "Number",
6419
+ },
6420
+ },
6227
6421
  },
6228
6422
  },
6229
6423
  };
@@ -6246,18 +6440,18 @@ const VirtualNetworkAddressesDeleteHeaders = {
6246
6440
  name: "Composite",
6247
6441
  className: "VirtualNetworkAddressesDeleteHeaders",
6248
6442
  modelProperties: {
6249
- retryAfter: {
6250
- serializedName: "retry-after",
6251
- type: {
6252
- name: "Number",
6253
- },
6254
- },
6255
6443
  location: {
6256
6444
  serializedName: "location",
6257
6445
  type: {
6258
6446
  name: "String",
6259
6447
  },
6260
6448
  },
6449
+ retryAfter: {
6450
+ serializedName: "retry-after",
6451
+ type: {
6452
+ name: "Number",
6453
+ },
6454
+ },
6261
6455
  },
6262
6456
  },
6263
6457
  };
@@ -6299,6 +6493,8 @@ var Mappers = /*#__PURE__*/Object.freeze({
6299
6493
  AutonomousDatabasesCreateOrUpdateHeaders: AutonomousDatabasesCreateOrUpdateHeaders,
6300
6494
  AutonomousDatabasesDeleteHeaders: AutonomousDatabasesDeleteHeaders,
6301
6495
  AutonomousDatabasesFailoverHeaders: AutonomousDatabasesFailoverHeaders,
6496
+ AutonomousDatabasesRestoreHeaders: AutonomousDatabasesRestoreHeaders,
6497
+ AutonomousDatabasesShrinkHeaders: AutonomousDatabasesShrinkHeaders,
6302
6498
  AutonomousDatabasesSwitchoverHeaders: AutonomousDatabasesSwitchoverHeaders,
6303
6499
  AutonomousDatabasesUpdateHeaders: AutonomousDatabasesUpdateHeaders,
6304
6500
  AutonomousDbVersion: AutonomousDbVersion,
@@ -6358,9 +6554,10 @@ var Mappers = /*#__PURE__*/Object.freeze({
6358
6554
  GiVersion: GiVersion,
6359
6555
  GiVersionListResult: GiVersionListResult,
6360
6556
  GiVersionProperties: GiVersionProperties,
6557
+ LongTermBackUpScheduleDetails: LongTermBackUpScheduleDetails,
6361
6558
  MaintenanceWindow: MaintenanceWindow,
6362
6559
  Month: Month,
6363
- NSGCidr: NSGCidr,
6560
+ NsgCidr: NsgCidr,
6364
6561
  Operation: Operation,
6365
6562
  OperationDisplay: OperationDisplay,
6366
6563
  OperationListResult: OperationListResult,
@@ -6377,17 +6574,22 @@ var Mappers = /*#__PURE__*/Object.freeze({
6377
6574
  OracleSubscriptionsUpdateHeaders: OracleSubscriptionsUpdateHeaders,
6378
6575
  PeerDbDetails: PeerDbDetails,
6379
6576
  Plan: Plan,
6577
+ PlanUpdate: PlanUpdate,
6380
6578
  PortRange: PortRange,
6381
6579
  PrivateIpAddressProperties: PrivateIpAddressProperties,
6382
6580
  PrivateIpAddressesFilter: PrivateIpAddressesFilter,
6383
6581
  ProfileType: ProfileType,
6384
6582
  ProxyResource: ProxyResource,
6385
6583
  Resource: Resource,
6386
- ResourcePlanTypeUpdate: ResourcePlanTypeUpdate,
6584
+ RestoreAutonomousDatabaseDetails: RestoreAutonomousDatabaseDetails,
6387
6585
  SaasSubscriptionDetails: SaasSubscriptionDetails,
6388
6586
  ScheduledOperationsType: ScheduledOperationsType,
6389
6587
  ScheduledOperationsTypeUpdate: ScheduledOperationsTypeUpdate,
6390
6588
  SystemData: SystemData,
6589
+ SystemVersion: SystemVersion,
6590
+ SystemVersionListResult: SystemVersionListResult,
6591
+ SystemVersionProperties: SystemVersionProperties,
6592
+ SystemVersionsFilter: SystemVersionsFilter,
6391
6593
  TrackedResource: TrackedResource,
6392
6594
  ValidationError: ValidationError,
6393
6595
  ValidationResult: ValidationResult,
@@ -6478,6 +6680,7 @@ const autonomousdatabasename = {
6478
6680
  parameterPath: "autonomousdatabasename",
6479
6681
  mapper: {
6480
6682
  constraints: {
6683
+ Pattern: new RegExp(".*"),
6481
6684
  MaxLength: 30,
6482
6685
  MinLength: 1,
6483
6686
  },
@@ -6515,9 +6718,16 @@ const body1 = {
6515
6718
  parameterPath: "body",
6516
6719
  mapper: GenerateAutonomousDatabaseWalletDetails,
6517
6720
  };
6721
+ const body2 = {
6722
+ parameterPath: "body",
6723
+ mapper: RestoreAutonomousDatabaseDetails,
6724
+ };
6518
6725
  const cloudexadatainfrastructurename = {
6519
6726
  parameterPath: "cloudexadatainfrastructurename",
6520
6727
  mapper: {
6728
+ constraints: {
6729
+ Pattern: new RegExp(".*"),
6730
+ },
6521
6731
  serializedName: "cloudexadatainfrastructurename",
6522
6732
  required: true,
6523
6733
  type: {
@@ -6536,6 +6746,9 @@ const properties1 = {
6536
6746
  const cloudvmclustername = {
6537
6747
  parameterPath: "cloudvmclustername",
6538
6748
  mapper: {
6749
+ constraints: {
6750
+ Pattern: new RegExp(".*"),
6751
+ },
6539
6752
  serializedName: "cloudvmclustername",
6540
6753
  required: true,
6541
6754
  type: {
@@ -6551,11 +6764,11 @@ const properties2 = {
6551
6764
  parameterPath: "properties",
6552
6765
  mapper: CloudVmClusterUpdate,
6553
6766
  };
6554
- const body2 = {
6767
+ const body3 = {
6555
6768
  parameterPath: "body",
6556
6769
  mapper: AddRemoveDbNode,
6557
6770
  };
6558
- const body3 = {
6771
+ const body4 = {
6559
6772
  parameterPath: "body",
6560
6773
  mapper: PrivateIpAddressesFilter,
6561
6774
  };
@@ -6575,6 +6788,9 @@ const location = {
6575
6788
  const adbscharsetname = {
6576
6789
  parameterPath: "adbscharsetname",
6577
6790
  mapper: {
6791
+ constraints: {
6792
+ Pattern: new RegExp(".*"),
6793
+ },
6578
6794
  serializedName: "adbscharsetname",
6579
6795
  required: true,
6580
6796
  type: {
@@ -6585,6 +6801,9 @@ const adbscharsetname = {
6585
6801
  const adbsncharsetname = {
6586
6802
  parameterPath: "adbsncharsetname",
6587
6803
  mapper: {
6804
+ constraints: {
6805
+ Pattern: new RegExp(".*"),
6806
+ },
6588
6807
  serializedName: "adbsncharsetname",
6589
6808
  required: true,
6590
6809
  type: {
@@ -6595,6 +6814,9 @@ const adbsncharsetname = {
6595
6814
  const autonomousdbversionsname = {
6596
6815
  parameterPath: "autonomousdbversionsname",
6597
6816
  mapper: {
6817
+ constraints: {
6818
+ Pattern: new RegExp(".*"),
6819
+ },
6598
6820
  serializedName: "autonomousdbversionsname",
6599
6821
  required: true,
6600
6822
  type: {
@@ -6605,6 +6827,9 @@ const autonomousdbversionsname = {
6605
6827
  const dbsystemshapename = {
6606
6828
  parameterPath: "dbsystemshapename",
6607
6829
  mapper: {
6830
+ constraints: {
6831
+ Pattern: new RegExp(".*"),
6832
+ },
6608
6833
  serializedName: "dbsystemshapename",
6609
6834
  required: true,
6610
6835
  type: {
@@ -6616,6 +6841,7 @@ const dnsprivateviewocid = {
6616
6841
  parameterPath: "dnsprivateviewocid",
6617
6842
  mapper: {
6618
6843
  constraints: {
6844
+ Pattern: new RegExp(".*"),
6619
6845
  MaxLength: 255,
6620
6846
  MinLength: 1,
6621
6847
  },
@@ -6629,6 +6855,9 @@ const dnsprivateviewocid = {
6629
6855
  const dnsprivatezonename = {
6630
6856
  parameterPath: "dnsprivatezonename",
6631
6857
  mapper: {
6858
+ constraints: {
6859
+ Pattern: new RegExp(".*"),
6860
+ },
6632
6861
  serializedName: "dnsprivatezonename",
6633
6862
  required: true,
6634
6863
  type: {
@@ -6639,6 +6868,9 @@ const dnsprivatezonename = {
6639
6868
  const giversionname = {
6640
6869
  parameterPath: "giversionname",
6641
6870
  mapper: {
6871
+ constraints: {
6872
+ Pattern: new RegExp(".*"),
6873
+ },
6642
6874
  serializedName: "giversionname",
6643
6875
  required: true,
6644
6876
  type: {
@@ -6646,6 +6878,19 @@ const giversionname = {
6646
6878
  },
6647
6879
  },
6648
6880
  };
6881
+ const systemversionname = {
6882
+ parameterPath: "systemversionname",
6883
+ mapper: {
6884
+ constraints: {
6885
+ Pattern: new RegExp(".*"),
6886
+ },
6887
+ serializedName: "systemversionname",
6888
+ required: true,
6889
+ type: {
6890
+ name: "String",
6891
+ },
6892
+ },
6893
+ };
6649
6894
  const resource3 = {
6650
6895
  parameterPath: "resource",
6651
6896
  mapper: OracleSubscription,
@@ -6657,6 +6902,9 @@ const properties3 = {
6657
6902
  const adbbackupid = {
6658
6903
  parameterPath: "adbbackupid",
6659
6904
  mapper: {
6905
+ constraints: {
6906
+ Pattern: new RegExp(".*"),
6907
+ },
6660
6908
  serializedName: "adbbackupid",
6661
6909
  required: true,
6662
6910
  type: {
@@ -6676,6 +6924,7 @@ const dbserverocid = {
6676
6924
  parameterPath: "dbserverocid",
6677
6925
  mapper: {
6678
6926
  constraints: {
6927
+ Pattern: new RegExp(".*"),
6679
6928
  MaxLength: 255,
6680
6929
  MinLength: 1,
6681
6930
  },
@@ -6690,6 +6939,7 @@ const dbnodeocid = {
6690
6939
  parameterPath: "dbnodeocid",
6691
6940
  mapper: {
6692
6941
  constraints: {
6942
+ Pattern: new RegExp(".*"),
6693
6943
  MaxLength: 255,
6694
6944
  MinLength: 1,
6695
6945
  },
@@ -6700,7 +6950,7 @@ const dbnodeocid = {
6700
6950
  },
6701
6951
  },
6702
6952
  };
6703
- const body4 = {
6953
+ const body5 = {
6704
6954
  parameterPath: "body",
6705
6955
  mapper: DbNodeAction,
6706
6956
  };
@@ -6708,6 +6958,7 @@ const virtualnetworkaddressname = {
6708
6958
  parameterPath: "virtualnetworkaddressname",
6709
6959
  mapper: {
6710
6960
  constraints: {
6961
+ Pattern: new RegExp(".*"),
6711
6962
  MaxLength: 63,
6712
6963
  MinLength: 1,
6713
6964
  },
@@ -6818,7 +7069,7 @@ class OperationsImpl {
6818
7069
  }
6819
7070
  }
6820
7071
  // Operation Specifications
6821
- const serializer$f = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
7072
+ const serializer$g = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
6822
7073
  const listOperationSpec = {
6823
7074
  path: "/providers/Oracle.Database/operations",
6824
7075
  httpMethod: "GET",
@@ -6833,7 +7084,7 @@ const listOperationSpec = {
6833
7084
  queryParameters: [apiVersion],
6834
7085
  urlParameters: [$host],
6835
7086
  headerParameters: [accept],
6836
- serializer: serializer$f,
7087
+ serializer: serializer$g,
6837
7088
  };
6838
7089
  const listNextOperationSpec = {
6839
7090
  path: "{nextLink}",
@@ -6848,7 +7099,7 @@ const listNextOperationSpec = {
6848
7099
  },
6849
7100
  urlParameters: [$host, nextLink],
6850
7101
  headerParameters: [accept],
6851
- serializer: serializer$f,
7102
+ serializer: serializer$g,
6852
7103
  };
6853
7104
 
6854
7105
  /*
@@ -7033,7 +7284,7 @@ class AutonomousDatabasesImpl {
7033
7284
  * @param options The options parameters.
7034
7285
  */
7035
7286
  get(resourceGroupName, autonomousdatabasename, options) {
7036
- return this.client.sendOperationRequest({ resourceGroupName, autonomousdatabasename, options }, getOperationSpec$e);
7287
+ return this.client.sendOperationRequest({ resourceGroupName, autonomousdatabasename, options }, getOperationSpec$f);
7037
7288
  }
7038
7289
  /**
7039
7290
  * Create a AutonomousDatabase
@@ -7275,6 +7526,120 @@ class AutonomousDatabasesImpl {
7275
7526
  generateWallet(resourceGroupName, autonomousdatabasename, body, options) {
7276
7527
  return this.client.sendOperationRequest({ resourceGroupName, autonomousdatabasename, body, options }, generateWalletOperationSpec);
7277
7528
  }
7529
+ /**
7530
+ * Restores an Autonomous Database based on the provided request parameters.
7531
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
7532
+ * @param autonomousdatabasename The database name.
7533
+ * @param body The content of the action request
7534
+ * @param options The options parameters.
7535
+ */
7536
+ beginRestore(resourceGroupName, autonomousdatabasename, body, options) {
7537
+ return tslib.__awaiter(this, void 0, void 0, function* () {
7538
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
7539
+ return this.client.sendOperationRequest(args, spec);
7540
+ });
7541
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
7542
+ var _a;
7543
+ let currentRawResponse = undefined;
7544
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
7545
+ const callback = (rawResponse, flatResponse) => {
7546
+ currentRawResponse = rawResponse;
7547
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
7548
+ };
7549
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
7550
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
7551
+ return {
7552
+ flatResponse,
7553
+ rawResponse: {
7554
+ statusCode: currentRawResponse.status,
7555
+ body: currentRawResponse.parsedBody,
7556
+ headers: currentRawResponse.headers.toJSON(),
7557
+ },
7558
+ };
7559
+ });
7560
+ const lro = createLroSpec({
7561
+ sendOperationFn,
7562
+ args: { resourceGroupName, autonomousdatabasename, body, options },
7563
+ spec: restoreOperationSpec,
7564
+ });
7565
+ const poller = yield coreLro.createHttpPoller(lro, {
7566
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
7567
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
7568
+ resourceLocationConfig: "location",
7569
+ });
7570
+ yield poller.poll();
7571
+ return poller;
7572
+ });
7573
+ }
7574
+ /**
7575
+ * Restores an Autonomous Database based on the provided request parameters.
7576
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
7577
+ * @param autonomousdatabasename The database name.
7578
+ * @param body The content of the action request
7579
+ * @param options The options parameters.
7580
+ */
7581
+ beginRestoreAndWait(resourceGroupName, autonomousdatabasename, body, options) {
7582
+ return tslib.__awaiter(this, void 0, void 0, function* () {
7583
+ const poller = yield this.beginRestore(resourceGroupName, autonomousdatabasename, body, options);
7584
+ return poller.pollUntilDone();
7585
+ });
7586
+ }
7587
+ /**
7588
+ * This operation shrinks the current allocated storage down to the current actual used data storage.
7589
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
7590
+ * @param autonomousdatabasename The database name.
7591
+ * @param options The options parameters.
7592
+ */
7593
+ beginShrink(resourceGroupName, autonomousdatabasename, options) {
7594
+ return tslib.__awaiter(this, void 0, void 0, function* () {
7595
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
7596
+ return this.client.sendOperationRequest(args, spec);
7597
+ });
7598
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
7599
+ var _a;
7600
+ let currentRawResponse = undefined;
7601
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
7602
+ const callback = (rawResponse, flatResponse) => {
7603
+ currentRawResponse = rawResponse;
7604
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
7605
+ };
7606
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
7607
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
7608
+ return {
7609
+ flatResponse,
7610
+ rawResponse: {
7611
+ statusCode: currentRawResponse.status,
7612
+ body: currentRawResponse.parsedBody,
7613
+ headers: currentRawResponse.headers.toJSON(),
7614
+ },
7615
+ };
7616
+ });
7617
+ const lro = createLroSpec({
7618
+ sendOperationFn,
7619
+ args: { resourceGroupName, autonomousdatabasename, options },
7620
+ spec: shrinkOperationSpec,
7621
+ });
7622
+ const poller = yield coreLro.createHttpPoller(lro, {
7623
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
7624
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
7625
+ resourceLocationConfig: "location",
7626
+ });
7627
+ yield poller.poll();
7628
+ return poller;
7629
+ });
7630
+ }
7631
+ /**
7632
+ * This operation shrinks the current allocated storage down to the current actual used data storage.
7633
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
7634
+ * @param autonomousdatabasename The database name.
7635
+ * @param options The options parameters.
7636
+ */
7637
+ beginShrinkAndWait(resourceGroupName, autonomousdatabasename, options) {
7638
+ return tslib.__awaiter(this, void 0, void 0, function* () {
7639
+ const poller = yield this.beginShrink(resourceGroupName, autonomousdatabasename, options);
7640
+ return poller.pollUntilDone();
7641
+ });
7642
+ }
7278
7643
  /**
7279
7644
  * Perform switchover action on Autonomous Database
7280
7645
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
@@ -7352,7 +7717,7 @@ class AutonomousDatabasesImpl {
7352
7717
  }
7353
7718
  }
7354
7719
  // Operation Specifications
7355
- const serializer$e = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
7720
+ const serializer$f = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
7356
7721
  const listBySubscriptionOperationSpec$3 = {
7357
7722
  path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/autonomousDatabases",
7358
7723
  httpMethod: "GET",
@@ -7367,7 +7732,7 @@ const listBySubscriptionOperationSpec$3 = {
7367
7732
  queryParameters: [apiVersion],
7368
7733
  urlParameters: [$host, subscriptionId],
7369
7734
  headerParameters: [accept],
7370
- serializer: serializer$e,
7735
+ serializer: serializer$f,
7371
7736
  };
7372
7737
  const listByResourceGroupOperationSpec$2 = {
7373
7738
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/autonomousDatabases",
@@ -7387,9 +7752,9 @@ const listByResourceGroupOperationSpec$2 = {
7387
7752
  resourceGroupName,
7388
7753
  ],
7389
7754
  headerParameters: [accept],
7390
- serializer: serializer$e,
7755
+ serializer: serializer$f,
7391
7756
  };
7392
- const getOperationSpec$e = {
7757
+ const getOperationSpec$f = {
7393
7758
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/autonomousDatabases/{autonomousdatabasename}",
7394
7759
  httpMethod: "GET",
7395
7760
  responses: {
@@ -7408,7 +7773,7 @@ const getOperationSpec$e = {
7408
7773
  autonomousdatabasename,
7409
7774
  ],
7410
7775
  headerParameters: [accept],
7411
- serializer: serializer$e,
7776
+ serializer: serializer$f,
7412
7777
  };
7413
7778
  const createOrUpdateOperationSpec$5 = {
7414
7779
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/autonomousDatabases/{autonomousdatabasename}",
@@ -7440,7 +7805,7 @@ const createOrUpdateOperationSpec$5 = {
7440
7805
  ],
7441
7806
  headerParameters: [accept, contentType],
7442
7807
  mediaType: "json",
7443
- serializer: serializer$e,
7808
+ serializer: serializer$f,
7444
7809
  };
7445
7810
  const updateOperationSpec$4 = {
7446
7811
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/autonomousDatabases/{autonomousdatabasename}",
@@ -7472,7 +7837,7 @@ const updateOperationSpec$4 = {
7472
7837
  ],
7473
7838
  headerParameters: [accept, contentType],
7474
7839
  mediaType: "json",
7475
- serializer: serializer$e,
7840
+ serializer: serializer$f,
7476
7841
  };
7477
7842
  const deleteOperationSpec$5 = {
7478
7843
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/autonomousDatabases/{autonomousdatabasename}",
@@ -7502,7 +7867,7 @@ const deleteOperationSpec$5 = {
7502
7867
  autonomousdatabasename,
7503
7868
  ],
7504
7869
  headerParameters: [accept],
7505
- serializer: serializer$e,
7870
+ serializer: serializer$f,
7506
7871
  };
7507
7872
  const failoverOperationSpec = {
7508
7873
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/autonomousDatabases/{autonomousdatabasename}/failover",
@@ -7534,7 +7899,7 @@ const failoverOperationSpec = {
7534
7899
  ],
7535
7900
  headerParameters: [accept, contentType],
7536
7901
  mediaType: "json",
7537
- serializer: serializer$e,
7902
+ serializer: serializer$f,
7538
7903
  };
7539
7904
  const generateWalletOperationSpec = {
7540
7905
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/autonomousDatabases/{autonomousdatabasename}/generateWallet",
@@ -7557,7 +7922,69 @@ const generateWalletOperationSpec = {
7557
7922
  ],
7558
7923
  headerParameters: [accept, contentType],
7559
7924
  mediaType: "json",
7560
- serializer: serializer$e,
7925
+ serializer: serializer$f,
7926
+ };
7927
+ const restoreOperationSpec = {
7928
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/autonomousDatabases/{autonomousdatabasename}/restore",
7929
+ httpMethod: "POST",
7930
+ responses: {
7931
+ 200: {
7932
+ bodyMapper: AutonomousDatabase,
7933
+ },
7934
+ 201: {
7935
+ bodyMapper: AutonomousDatabase,
7936
+ },
7937
+ 202: {
7938
+ bodyMapper: AutonomousDatabase,
7939
+ },
7940
+ 204: {
7941
+ bodyMapper: AutonomousDatabase,
7942
+ },
7943
+ default: {
7944
+ bodyMapper: ErrorResponse,
7945
+ },
7946
+ },
7947
+ requestBody: body2,
7948
+ queryParameters: [apiVersion],
7949
+ urlParameters: [
7950
+ $host,
7951
+ subscriptionId,
7952
+ resourceGroupName,
7953
+ autonomousdatabasename,
7954
+ ],
7955
+ headerParameters: [accept, contentType],
7956
+ mediaType: "json",
7957
+ serializer: serializer$f,
7958
+ };
7959
+ const shrinkOperationSpec = {
7960
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/autonomousDatabases/{autonomousdatabasename}/shrink",
7961
+ httpMethod: "POST",
7962
+ responses: {
7963
+ 200: {
7964
+ bodyMapper: AutonomousDatabase,
7965
+ },
7966
+ 201: {
7967
+ bodyMapper: AutonomousDatabase,
7968
+ },
7969
+ 202: {
7970
+ bodyMapper: AutonomousDatabase,
7971
+ },
7972
+ 204: {
7973
+ bodyMapper: AutonomousDatabase,
7974
+ },
7975
+ default: {
7976
+ bodyMapper: ErrorResponse,
7977
+ },
7978
+ },
7979
+ queryParameters: [apiVersion],
7980
+ urlParameters: [
7981
+ $host,
7982
+ subscriptionId,
7983
+ resourceGroupName,
7984
+ autonomousdatabasename,
7985
+ ],
7986
+ headerParameters: [accept],
7987
+ serializer: serializer$f,
7561
7988
  };
7562
7989
  const switchoverOperationSpec = {
7563
7990
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/autonomousDatabases/{autonomousdatabasename}/switchover",
@@ -7589,7 +8016,7 @@ const switchoverOperationSpec = {
7589
8016
  ],
7590
8017
  headerParameters: [accept, contentType],
7591
8018
  mediaType: "json",
7592
- serializer: serializer$e,
8019
+ serializer: serializer$f,
7593
8020
  };
7594
8021
  const listBySubscriptionNextOperationSpec$3 = {
7595
8022
  path: "{nextLink}",
@@ -7608,7 +8035,7 @@ const listBySubscriptionNextOperationSpec$3 = {
7608
8035
  subscriptionId,
7609
8036
  ],
7610
8037
  headerParameters: [accept],
7611
- serializer: serializer$e,
8038
+ serializer: serializer$f,
7612
8039
  };
7613
8040
  const listByResourceGroupNextOperationSpec$2 = {
7614
8041
  path: "{nextLink}",
@@ -7628,7 +8055,7 @@ const listByResourceGroupNextOperationSpec$2 = {
7628
8055
  resourceGroupName,
7629
8056
  ],
7630
8057
  headerParameters: [accept],
7631
- serializer: serializer$e,
8058
+ serializer: serializer$f,
7632
8059
  };
7633
8060
 
7634
8061
  /*
@@ -7793,7 +8220,7 @@ class CloudExadataInfrastructuresImpl {
7793
8220
  * @param options The options parameters.
7794
8221
  */
7795
8222
  get(resourceGroupName, cloudexadatainfrastructurename, options) {
7796
- return this.client.sendOperationRequest({ resourceGroupName, cloudexadatainfrastructurename, options }, getOperationSpec$d);
8223
+ return this.client.sendOperationRequest({ resourceGroupName, cloudexadatainfrastructurename, options }, getOperationSpec$e);
7797
8224
  }
7798
8225
  /**
7799
8226
  * Create a CloudExadataInfrastructure
@@ -8052,7 +8479,7 @@ class CloudExadataInfrastructuresImpl {
8052
8479
  }
8053
8480
  }
8054
8481
  // Operation Specifications
8055
- const serializer$d = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
8482
+ const serializer$e = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
8056
8483
  const listBySubscriptionOperationSpec$2 = {
8057
8484
  path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/cloudExadataInfrastructures",
8058
8485
  httpMethod: "GET",
@@ -8067,7 +8494,7 @@ const listBySubscriptionOperationSpec$2 = {
8067
8494
  queryParameters: [apiVersion],
8068
8495
  urlParameters: [$host, subscriptionId],
8069
8496
  headerParameters: [accept],
8070
- serializer: serializer$d,
8497
+ serializer: serializer$e,
8071
8498
  };
8072
8499
  const listByResourceGroupOperationSpec$1 = {
8073
8500
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudExadataInfrastructures",
@@ -8087,9 +8514,9 @@ const listByResourceGroupOperationSpec$1 = {
8087
8514
  resourceGroupName,
8088
8515
  ],
8089
8516
  headerParameters: [accept],
8090
- serializer: serializer$d,
8517
+ serializer: serializer$e,
8091
8518
  };
8092
- const getOperationSpec$d = {
8519
+ const getOperationSpec$e = {
8093
8520
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudExadataInfrastructures/{cloudexadatainfrastructurename}",
8094
8521
  httpMethod: "GET",
8095
8522
  responses: {
@@ -8108,7 +8535,7 @@ const getOperationSpec$d = {
8108
8535
  cloudexadatainfrastructurename,
8109
8536
  ],
8110
8537
  headerParameters: [accept],
8111
- serializer: serializer$d,
8538
+ serializer: serializer$e,
8112
8539
  };
8113
8540
  const createOrUpdateOperationSpec$4 = {
8114
8541
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudExadataInfrastructures/{cloudexadatainfrastructurename}",
@@ -8140,7 +8567,7 @@ const createOrUpdateOperationSpec$4 = {
8140
8567
  ],
8141
8568
  headerParameters: [accept, contentType],
8142
8569
  mediaType: "json",
8143
- serializer: serializer$d,
8570
+ serializer: serializer$e,
8144
8571
  };
8145
8572
  const updateOperationSpec$3 = {
8146
8573
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudExadataInfrastructures/{cloudexadatainfrastructurename}",
@@ -8172,7 +8599,7 @@ const updateOperationSpec$3 = {
8172
8599
  ],
8173
8600
  headerParameters: [accept, contentType],
8174
8601
  mediaType: "json",
8175
- serializer: serializer$d,
8602
+ serializer: serializer$e,
8176
8603
  };
8177
8604
  const deleteOperationSpec$4 = {
8178
8605
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudExadataInfrastructures/{cloudexadatainfrastructurename}",
@@ -8202,7 +8629,7 @@ const deleteOperationSpec$4 = {
8202
8629
  cloudexadatainfrastructurename,
8203
8630
  ],
8204
8631
  headerParameters: [accept],
8205
- serializer: serializer$d,
8632
+ serializer: serializer$e,
8206
8633
  };
8207
8634
  const addStorageCapacityOperationSpec = {
8208
8635
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudExadataInfrastructures/{cloudexadatainfrastructurename}/addStorageCapacity",
@@ -8232,7 +8659,7 @@ const addStorageCapacityOperationSpec = {
8232
8659
  cloudexadatainfrastructurename,
8233
8660
  ],
8234
8661
  headerParameters: [accept],
8235
- serializer: serializer$d,
8662
+ serializer: serializer$e,
8236
8663
  };
8237
8664
  const listBySubscriptionNextOperationSpec$2 = {
8238
8665
  path: "{nextLink}",
@@ -8251,7 +8678,7 @@ const listBySubscriptionNextOperationSpec$2 = {
8251
8678
  subscriptionId,
8252
8679
  ],
8253
8680
  headerParameters: [accept],
8254
- serializer: serializer$d,
8681
+ serializer: serializer$e,
8255
8682
  };
8256
8683
  const listByResourceGroupNextOperationSpec$1 = {
8257
8684
  path: "{nextLink}",
@@ -8271,7 +8698,7 @@ const listByResourceGroupNextOperationSpec$1 = {
8271
8698
  resourceGroupName,
8272
8699
  ],
8273
8700
  headerParameters: [accept],
8274
- serializer: serializer$d,
8701
+ serializer: serializer$e,
8275
8702
  };
8276
8703
 
8277
8704
  /*
@@ -8436,7 +8863,7 @@ class CloudVmClustersImpl {
8436
8863
  * @param options The options parameters.
8437
8864
  */
8438
8865
  get(resourceGroupName, cloudvmclustername, options) {
8439
- return this.client.sendOperationRequest({ resourceGroupName, cloudvmclustername, options }, getOperationSpec$c);
8866
+ return this.client.sendOperationRequest({ resourceGroupName, cloudvmclustername, options }, getOperationSpec$d);
8440
8867
  }
8441
8868
  /**
8442
8869
  * Create a CloudVmCluster
@@ -8755,7 +9182,7 @@ class CloudVmClustersImpl {
8755
9182
  }
8756
9183
  }
8757
9184
  // Operation Specifications
8758
- const serializer$c = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
9185
+ const serializer$d = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
8759
9186
  const listBySubscriptionOperationSpec$1 = {
8760
9187
  path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/cloudVmClusters",
8761
9188
  httpMethod: "GET",
@@ -8770,7 +9197,7 @@ const listBySubscriptionOperationSpec$1 = {
8770
9197
  queryParameters: [apiVersion],
8771
9198
  urlParameters: [$host, subscriptionId],
8772
9199
  headerParameters: [accept],
8773
- serializer: serializer$c,
9200
+ serializer: serializer$d,
8774
9201
  };
8775
9202
  const listByResourceGroupOperationSpec = {
8776
9203
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudVmClusters",
@@ -8790,9 +9217,9 @@ const listByResourceGroupOperationSpec = {
8790
9217
  resourceGroupName,
8791
9218
  ],
8792
9219
  headerParameters: [accept],
8793
- serializer: serializer$c,
9220
+ serializer: serializer$d,
8794
9221
  };
8795
- const getOperationSpec$c = {
9222
+ const getOperationSpec$d = {
8796
9223
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudVmClusters/{cloudvmclustername}",
8797
9224
  httpMethod: "GET",
8798
9225
  responses: {
@@ -8811,7 +9238,7 @@ const getOperationSpec$c = {
8811
9238
  cloudvmclustername,
8812
9239
  ],
8813
9240
  headerParameters: [accept],
8814
- serializer: serializer$c,
9241
+ serializer: serializer$d,
8815
9242
  };
8816
9243
  const createOrUpdateOperationSpec$3 = {
8817
9244
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudVmClusters/{cloudvmclustername}",
@@ -8843,7 +9270,7 @@ const createOrUpdateOperationSpec$3 = {
8843
9270
  ],
8844
9271
  headerParameters: [accept, contentType],
8845
9272
  mediaType: "json",
8846
- serializer: serializer$c,
9273
+ serializer: serializer$d,
8847
9274
  };
8848
9275
  const updateOperationSpec$2 = {
8849
9276
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudVmClusters/{cloudvmclustername}",
@@ -8875,7 +9302,7 @@ const updateOperationSpec$2 = {
8875
9302
  ],
8876
9303
  headerParameters: [accept, contentType],
8877
9304
  mediaType: "json",
8878
- serializer: serializer$c,
9305
+ serializer: serializer$d,
8879
9306
  };
8880
9307
  const deleteOperationSpec$3 = {
8881
9308
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudVmClusters/{cloudvmclustername}",
@@ -8905,7 +9332,7 @@ const deleteOperationSpec$3 = {
8905
9332
  cloudvmclustername,
8906
9333
  ],
8907
9334
  headerParameters: [accept],
8908
- serializer: serializer$c,
9335
+ serializer: serializer$d,
8909
9336
  };
8910
9337
  const addVmsOperationSpec = {
8911
9338
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudVmClusters/{cloudvmclustername}/addVms",
@@ -8927,7 +9354,7 @@ const addVmsOperationSpec = {
8927
9354
  bodyMapper: ErrorResponse,
8928
9355
  },
8929
9356
  },
8930
- requestBody: body2,
9357
+ requestBody: body3,
8931
9358
  queryParameters: [apiVersion],
8932
9359
  urlParameters: [
8933
9360
  $host,
@@ -8937,7 +9364,7 @@ const addVmsOperationSpec = {
8937
9364
  ],
8938
9365
  headerParameters: [accept, contentType],
8939
9366
  mediaType: "json",
8940
- serializer: serializer$c,
9367
+ serializer: serializer$d,
8941
9368
  };
8942
9369
  const listPrivateIpAddressesOperationSpec = {
8943
9370
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudVmClusters/{cloudvmclustername}/listPrivateIpAddresses",
@@ -8960,7 +9387,7 @@ const listPrivateIpAddressesOperationSpec = {
8960
9387
  bodyMapper: ErrorResponse,
8961
9388
  },
8962
9389
  },
8963
- requestBody: body3,
9390
+ requestBody: body4,
8964
9391
  queryParameters: [apiVersion],
8965
9392
  urlParameters: [
8966
9393
  $host,
@@ -8970,65 +9397,235 @@ const listPrivateIpAddressesOperationSpec = {
8970
9397
  ],
8971
9398
  headerParameters: [accept, contentType],
8972
9399
  mediaType: "json",
8973
- serializer: serializer$c,
9400
+ serializer: serializer$d,
8974
9401
  };
8975
9402
  const removeVmsOperationSpec = {
8976
9403
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudVmClusters/{cloudvmclustername}/removeVms",
8977
9404
  httpMethod: "POST",
8978
9405
  responses: {
8979
9406
  200: {
8980
- bodyMapper: CloudVmCluster,
8981
- },
8982
- 201: {
8983
- bodyMapper: CloudVmCluster,
8984
- },
8985
- 202: {
8986
- bodyMapper: CloudVmCluster,
8987
- },
8988
- 204: {
8989
- bodyMapper: CloudVmCluster,
9407
+ bodyMapper: CloudVmCluster,
9408
+ },
9409
+ 201: {
9410
+ bodyMapper: CloudVmCluster,
9411
+ },
9412
+ 202: {
9413
+ bodyMapper: CloudVmCluster,
9414
+ },
9415
+ 204: {
9416
+ bodyMapper: CloudVmCluster,
9417
+ },
9418
+ default: {
9419
+ bodyMapper: ErrorResponse,
9420
+ },
9421
+ },
9422
+ requestBody: body3,
9423
+ queryParameters: [apiVersion],
9424
+ urlParameters: [
9425
+ $host,
9426
+ subscriptionId,
9427
+ resourceGroupName,
9428
+ cloudvmclustername,
9429
+ ],
9430
+ headerParameters: [accept, contentType],
9431
+ mediaType: "json",
9432
+ serializer: serializer$d,
9433
+ };
9434
+ const listBySubscriptionNextOperationSpec$1 = {
9435
+ path: "{nextLink}",
9436
+ httpMethod: "GET",
9437
+ responses: {
9438
+ 200: {
9439
+ bodyMapper: CloudVmClusterListResult,
9440
+ },
9441
+ default: {
9442
+ bodyMapper: ErrorResponse,
9443
+ },
9444
+ },
9445
+ urlParameters: [
9446
+ $host,
9447
+ nextLink,
9448
+ subscriptionId,
9449
+ ],
9450
+ headerParameters: [accept],
9451
+ serializer: serializer$d,
9452
+ };
9453
+ const listByResourceGroupNextOperationSpec = {
9454
+ path: "{nextLink}",
9455
+ httpMethod: "GET",
9456
+ responses: {
9457
+ 200: {
9458
+ bodyMapper: CloudVmClusterListResult,
9459
+ },
9460
+ default: {
9461
+ bodyMapper: ErrorResponse,
9462
+ },
9463
+ },
9464
+ urlParameters: [
9465
+ $host,
9466
+ nextLink,
9467
+ subscriptionId,
9468
+ resourceGroupName,
9469
+ ],
9470
+ headerParameters: [accept],
9471
+ serializer: serializer$d,
9472
+ };
9473
+
9474
+ /*
9475
+ * Copyright (c) Microsoft Corporation.
9476
+ * Licensed under the MIT License.
9477
+ *
9478
+ * Code generated by Microsoft (R) AutoRest Code Generator.
9479
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
9480
+ */
9481
+ /// <reference lib="esnext.asynciterable" />
9482
+ /** Class containing AutonomousDatabaseCharacterSets operations. */
9483
+ class AutonomousDatabaseCharacterSetsImpl {
9484
+ /**
9485
+ * Initialize a new instance of the class AutonomousDatabaseCharacterSets class.
9486
+ * @param client Reference to the service client
9487
+ */
9488
+ constructor(client) {
9489
+ this.client = client;
9490
+ }
9491
+ /**
9492
+ * List AutonomousDatabaseCharacterSet resources by Location
9493
+ * @param location The name of the Azure region.
9494
+ * @param options The options parameters.
9495
+ */
9496
+ listByLocation(location, options) {
9497
+ const iter = this.listByLocationPagingAll(location, options);
9498
+ return {
9499
+ next() {
9500
+ return iter.next();
9501
+ },
9502
+ [Symbol.asyncIterator]() {
9503
+ return this;
9504
+ },
9505
+ byPage: (settings) => {
9506
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
9507
+ throw new Error("maxPageSize is not supported by this operation.");
9508
+ }
9509
+ return this.listByLocationPagingPage(location, options, settings);
9510
+ },
9511
+ };
9512
+ }
9513
+ listByLocationPagingPage(location, options, settings) {
9514
+ return tslib.__asyncGenerator(this, arguments, function* listByLocationPagingPage_1() {
9515
+ let result;
9516
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
9517
+ if (!continuationToken) {
9518
+ result = yield tslib.__await(this._listByLocation(location, options));
9519
+ let page = result.value || [];
9520
+ continuationToken = result.nextLink;
9521
+ setContinuationToken(page, continuationToken);
9522
+ yield yield tslib.__await(page);
9523
+ }
9524
+ while (continuationToken) {
9525
+ result = yield tslib.__await(this._listByLocationNext(location, continuationToken, options));
9526
+ continuationToken = result.nextLink;
9527
+ let page = result.value || [];
9528
+ setContinuationToken(page, continuationToken);
9529
+ yield yield tslib.__await(page);
9530
+ }
9531
+ });
9532
+ }
9533
+ listByLocationPagingAll(location, options) {
9534
+ return tslib.__asyncGenerator(this, arguments, function* listByLocationPagingAll_1() {
9535
+ var _a, e_1, _b, _c;
9536
+ try {
9537
+ for (var _d = true, _e = tslib.__asyncValues(this.listByLocationPagingPage(location, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
9538
+ _c = _f.value;
9539
+ _d = false;
9540
+ const page = _c;
9541
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
9542
+ }
9543
+ }
9544
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
9545
+ finally {
9546
+ try {
9547
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
9548
+ }
9549
+ finally { if (e_1) throw e_1.error; }
9550
+ }
9551
+ });
9552
+ }
9553
+ /**
9554
+ * List AutonomousDatabaseCharacterSet resources by Location
9555
+ * @param location The name of the Azure region.
9556
+ * @param options The options parameters.
9557
+ */
9558
+ _listByLocation(location, options) {
9559
+ return this.client.sendOperationRequest({ location, options }, listByLocationOperationSpec$7);
9560
+ }
9561
+ /**
9562
+ * Get a AutonomousDatabaseCharacterSet
9563
+ * @param location The name of the Azure region.
9564
+ * @param adbscharsetname AutonomousDatabaseCharacterSet name
9565
+ * @param options The options parameters.
9566
+ */
9567
+ get(location, adbscharsetname, options) {
9568
+ return this.client.sendOperationRequest({ location, adbscharsetname, options }, getOperationSpec$c);
9569
+ }
9570
+ /**
9571
+ * ListByLocationNext
9572
+ * @param location The name of the Azure region.
9573
+ * @param nextLink The nextLink from the previous successful call to the ListByLocation method.
9574
+ * @param options The options parameters.
9575
+ */
9576
+ _listByLocationNext(location, nextLink, options) {
9577
+ return this.client.sendOperationRequest({ location, nextLink, options }, listByLocationNextOperationSpec$7);
9578
+ }
9579
+ }
9580
+ // Operation Specifications
9581
+ const serializer$c = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
9582
+ const listByLocationOperationSpec$7 = {
9583
+ path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/autonomousDatabaseCharacterSets",
9584
+ httpMethod: "GET",
9585
+ responses: {
9586
+ 200: {
9587
+ bodyMapper: AutonomousDatabaseCharacterSetListResult,
8990
9588
  },
8991
9589
  default: {
8992
9590
  bodyMapper: ErrorResponse,
8993
9591
  },
8994
9592
  },
8995
- requestBody: body2,
8996
9593
  queryParameters: [apiVersion],
8997
9594
  urlParameters: [
8998
9595
  $host,
8999
9596
  subscriptionId,
9000
- resourceGroupName,
9001
- cloudvmclustername,
9597
+ location,
9002
9598
  ],
9003
- headerParameters: [accept, contentType],
9004
- mediaType: "json",
9599
+ headerParameters: [accept],
9005
9600
  serializer: serializer$c,
9006
9601
  };
9007
- const listBySubscriptionNextOperationSpec$1 = {
9008
- path: "{nextLink}",
9602
+ const getOperationSpec$c = {
9603
+ path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/autonomousDatabaseCharacterSets/{adbscharsetname}",
9009
9604
  httpMethod: "GET",
9010
9605
  responses: {
9011
9606
  200: {
9012
- bodyMapper: CloudVmClusterListResult,
9607
+ bodyMapper: AutonomousDatabaseCharacterSet,
9013
9608
  },
9014
9609
  default: {
9015
9610
  bodyMapper: ErrorResponse,
9016
9611
  },
9017
9612
  },
9613
+ queryParameters: [apiVersion],
9018
9614
  urlParameters: [
9019
9615
  $host,
9020
- nextLink,
9021
9616
  subscriptionId,
9617
+ location,
9618
+ adbscharsetname,
9022
9619
  ],
9023
9620
  headerParameters: [accept],
9024
9621
  serializer: serializer$c,
9025
9622
  };
9026
- const listByResourceGroupNextOperationSpec = {
9623
+ const listByLocationNextOperationSpec$7 = {
9027
9624
  path: "{nextLink}",
9028
9625
  httpMethod: "GET",
9029
9626
  responses: {
9030
9627
  200: {
9031
- bodyMapper: CloudVmClusterListResult,
9628
+ bodyMapper: AutonomousDatabaseCharacterSetListResult,
9032
9629
  },
9033
9630
  default: {
9034
9631
  bodyMapper: ErrorResponse,
@@ -9038,7 +9635,7 @@ const listByResourceGroupNextOperationSpec = {
9038
9635
  $host,
9039
9636
  nextLink,
9040
9637
  subscriptionId,
9041
- resourceGroupName,
9638
+ location,
9042
9639
  ],
9043
9640
  headerParameters: [accept],
9044
9641
  serializer: serializer$c,
@@ -9052,17 +9649,17 @@ const listByResourceGroupNextOperationSpec = {
9052
9649
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
9053
9650
  */
9054
9651
  /// <reference lib="esnext.asynciterable" />
9055
- /** Class containing AutonomousDatabaseCharacterSets operations. */
9056
- class AutonomousDatabaseCharacterSetsImpl {
9652
+ /** Class containing AutonomousDatabaseNationalCharacterSets operations. */
9653
+ class AutonomousDatabaseNationalCharacterSetsImpl {
9057
9654
  /**
9058
- * Initialize a new instance of the class AutonomousDatabaseCharacterSets class.
9655
+ * Initialize a new instance of the class AutonomousDatabaseNationalCharacterSets class.
9059
9656
  * @param client Reference to the service client
9060
9657
  */
9061
9658
  constructor(client) {
9062
9659
  this.client = client;
9063
9660
  }
9064
9661
  /**
9065
- * List AutonomousDatabaseCharacterSet resources by Location
9662
+ * List AutonomousDatabaseNationalCharacterSet resources by Location
9066
9663
  * @param location The name of the Azure region.
9067
9664
  * @param options The options parameters.
9068
9665
  */
@@ -9124,7 +9721,7 @@ class AutonomousDatabaseCharacterSetsImpl {
9124
9721
  });
9125
9722
  }
9126
9723
  /**
9127
- * List AutonomousDatabaseCharacterSet resources by Location
9724
+ * List AutonomousDatabaseNationalCharacterSet resources by Location
9128
9725
  * @param location The name of the Azure region.
9129
9726
  * @param options The options parameters.
9130
9727
  */
@@ -9132,13 +9729,13 @@ class AutonomousDatabaseCharacterSetsImpl {
9132
9729
  return this.client.sendOperationRequest({ location, options }, listByLocationOperationSpec$6);
9133
9730
  }
9134
9731
  /**
9135
- * Get a AutonomousDatabaseCharacterSet
9732
+ * Get a AutonomousDatabaseNationalCharacterSet
9136
9733
  * @param location The name of the Azure region.
9137
- * @param adbscharsetname AutonomousDatabaseCharacterSet name
9734
+ * @param adbsncharsetname AutonomousDatabaseNationalCharacterSets name
9138
9735
  * @param options The options parameters.
9139
9736
  */
9140
- get(location, adbscharsetname, options) {
9141
- return this.client.sendOperationRequest({ location, adbscharsetname, options }, getOperationSpec$b);
9737
+ get(location, adbsncharsetname, options) {
9738
+ return this.client.sendOperationRequest({ location, adbsncharsetname, options }, getOperationSpec$b);
9142
9739
  }
9143
9740
  /**
9144
9741
  * ListByLocationNext
@@ -9153,11 +9750,11 @@ class AutonomousDatabaseCharacterSetsImpl {
9153
9750
  // Operation Specifications
9154
9751
  const serializer$b = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
9155
9752
  const listByLocationOperationSpec$6 = {
9156
- path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/autonomousDatabaseCharacterSets",
9753
+ path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/autonomousDatabaseNationalCharacterSets",
9157
9754
  httpMethod: "GET",
9158
9755
  responses: {
9159
9756
  200: {
9160
- bodyMapper: AutonomousDatabaseCharacterSetListResult,
9757
+ bodyMapper: AutonomousDatabaseNationalCharacterSetListResult,
9161
9758
  },
9162
9759
  default: {
9163
9760
  bodyMapper: ErrorResponse,
@@ -9173,11 +9770,11 @@ const listByLocationOperationSpec$6 = {
9173
9770
  serializer: serializer$b,
9174
9771
  };
9175
9772
  const getOperationSpec$b = {
9176
- path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/autonomousDatabaseCharacterSets/{adbscharsetname}",
9773
+ path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/autonomousDatabaseNationalCharacterSets/{adbsncharsetname}",
9177
9774
  httpMethod: "GET",
9178
9775
  responses: {
9179
9776
  200: {
9180
- bodyMapper: AutonomousDatabaseCharacterSet,
9777
+ bodyMapper: AutonomousDatabaseNationalCharacterSet,
9181
9778
  },
9182
9779
  default: {
9183
9780
  bodyMapper: ErrorResponse,
@@ -9188,7 +9785,7 @@ const getOperationSpec$b = {
9188
9785
  $host,
9189
9786
  subscriptionId,
9190
9787
  location,
9191
- adbscharsetname,
9788
+ adbsncharsetname,
9192
9789
  ],
9193
9790
  headerParameters: [accept],
9194
9791
  serializer: serializer$b,
@@ -9198,7 +9795,7 @@ const listByLocationNextOperationSpec$6 = {
9198
9795
  httpMethod: "GET",
9199
9796
  responses: {
9200
9797
  200: {
9201
- bodyMapper: AutonomousDatabaseCharacterSetListResult,
9798
+ bodyMapper: AutonomousDatabaseNationalCharacterSetListResult,
9202
9799
  },
9203
9800
  default: {
9204
9801
  bodyMapper: ErrorResponse,
@@ -9222,17 +9819,17 @@ const listByLocationNextOperationSpec$6 = {
9222
9819
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
9223
9820
  */
9224
9821
  /// <reference lib="esnext.asynciterable" />
9225
- /** Class containing AutonomousDatabaseNationalCharacterSets operations. */
9226
- class AutonomousDatabaseNationalCharacterSetsImpl {
9822
+ /** Class containing AutonomousDatabaseVersions operations. */
9823
+ class AutonomousDatabaseVersionsImpl {
9227
9824
  /**
9228
- * Initialize a new instance of the class AutonomousDatabaseNationalCharacterSets class.
9825
+ * Initialize a new instance of the class AutonomousDatabaseVersions class.
9229
9826
  * @param client Reference to the service client
9230
9827
  */
9231
9828
  constructor(client) {
9232
9829
  this.client = client;
9233
9830
  }
9234
9831
  /**
9235
- * List AutonomousDatabaseNationalCharacterSet resources by Location
9832
+ * List AutonomousDbVersion resources by Location
9236
9833
  * @param location The name of the Azure region.
9237
9834
  * @param options The options parameters.
9238
9835
  */
@@ -9294,7 +9891,7 @@ class AutonomousDatabaseNationalCharacterSetsImpl {
9294
9891
  });
9295
9892
  }
9296
9893
  /**
9297
- * List AutonomousDatabaseNationalCharacterSet resources by Location
9894
+ * List AutonomousDbVersion resources by Location
9298
9895
  * @param location The name of the Azure region.
9299
9896
  * @param options The options parameters.
9300
9897
  */
@@ -9302,13 +9899,13 @@ class AutonomousDatabaseNationalCharacterSetsImpl {
9302
9899
  return this.client.sendOperationRequest({ location, options }, listByLocationOperationSpec$5);
9303
9900
  }
9304
9901
  /**
9305
- * Get a AutonomousDatabaseNationalCharacterSet
9902
+ * Get a AutonomousDbVersion
9306
9903
  * @param location The name of the Azure region.
9307
- * @param adbsncharsetname AutonomousDatabaseNationalCharacterSets name
9904
+ * @param autonomousdbversionsname AutonomousDbVersion name
9308
9905
  * @param options The options parameters.
9309
9906
  */
9310
- get(location, adbsncharsetname, options) {
9311
- return this.client.sendOperationRequest({ location, adbsncharsetname, options }, getOperationSpec$a);
9907
+ get(location, autonomousdbversionsname, options) {
9908
+ return this.client.sendOperationRequest({ location, autonomousdbversionsname, options }, getOperationSpec$a);
9312
9909
  }
9313
9910
  /**
9314
9911
  * ListByLocationNext
@@ -9323,11 +9920,11 @@ class AutonomousDatabaseNationalCharacterSetsImpl {
9323
9920
  // Operation Specifications
9324
9921
  const serializer$a = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
9325
9922
  const listByLocationOperationSpec$5 = {
9326
- path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/autonomousDatabaseNationalCharacterSets",
9923
+ path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/autonomousDbVersions",
9327
9924
  httpMethod: "GET",
9328
9925
  responses: {
9329
9926
  200: {
9330
- bodyMapper: AutonomousDatabaseNationalCharacterSetListResult,
9927
+ bodyMapper: AutonomousDbVersionListResult,
9331
9928
  },
9332
9929
  default: {
9333
9930
  bodyMapper: ErrorResponse,
@@ -9343,11 +9940,11 @@ const listByLocationOperationSpec$5 = {
9343
9940
  serializer: serializer$a,
9344
9941
  };
9345
9942
  const getOperationSpec$a = {
9346
- path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/autonomousDatabaseNationalCharacterSets/{adbsncharsetname}",
9943
+ path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/autonomousDbVersions/{autonomousdbversionsname}",
9347
9944
  httpMethod: "GET",
9348
9945
  responses: {
9349
9946
  200: {
9350
- bodyMapper: AutonomousDatabaseNationalCharacterSet,
9947
+ bodyMapper: AutonomousDbVersion,
9351
9948
  },
9352
9949
  default: {
9353
9950
  bodyMapper: ErrorResponse,
@@ -9358,7 +9955,7 @@ const getOperationSpec$a = {
9358
9955
  $host,
9359
9956
  subscriptionId,
9360
9957
  location,
9361
- adbsncharsetname,
9958
+ autonomousdbversionsname,
9362
9959
  ],
9363
9960
  headerParameters: [accept],
9364
9961
  serializer: serializer$a,
@@ -9368,7 +9965,7 @@ const listByLocationNextOperationSpec$5 = {
9368
9965
  httpMethod: "GET",
9369
9966
  responses: {
9370
9967
  200: {
9371
- bodyMapper: AutonomousDatabaseNationalCharacterSetListResult,
9968
+ bodyMapper: AutonomousDbVersionListResult,
9372
9969
  },
9373
9970
  default: {
9374
9971
  bodyMapper: ErrorResponse,
@@ -9392,17 +9989,17 @@ const listByLocationNextOperationSpec$5 = {
9392
9989
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
9393
9990
  */
9394
9991
  /// <reference lib="esnext.asynciterable" />
9395
- /** Class containing AutonomousDatabaseVersions operations. */
9396
- class AutonomousDatabaseVersionsImpl {
9992
+ /** Class containing DbSystemShapes operations. */
9993
+ class DbSystemShapesImpl {
9397
9994
  /**
9398
- * Initialize a new instance of the class AutonomousDatabaseVersions class.
9995
+ * Initialize a new instance of the class DbSystemShapes class.
9399
9996
  * @param client Reference to the service client
9400
9997
  */
9401
9998
  constructor(client) {
9402
9999
  this.client = client;
9403
10000
  }
9404
10001
  /**
9405
- * List AutonomousDbVersion resources by Location
10002
+ * List DbSystemShape resources by Location
9406
10003
  * @param location The name of the Azure region.
9407
10004
  * @param options The options parameters.
9408
10005
  */
@@ -9464,7 +10061,7 @@ class AutonomousDatabaseVersionsImpl {
9464
10061
  });
9465
10062
  }
9466
10063
  /**
9467
- * List AutonomousDbVersion resources by Location
10064
+ * List DbSystemShape resources by Location
9468
10065
  * @param location The name of the Azure region.
9469
10066
  * @param options The options parameters.
9470
10067
  */
@@ -9472,13 +10069,13 @@ class AutonomousDatabaseVersionsImpl {
9472
10069
  return this.client.sendOperationRequest({ location, options }, listByLocationOperationSpec$4);
9473
10070
  }
9474
10071
  /**
9475
- * Get a AutonomousDbVersion
10072
+ * Get a DbSystemShape
9476
10073
  * @param location The name of the Azure region.
9477
- * @param autonomousdbversionsname AutonomousDbVersion name
10074
+ * @param dbsystemshapename DbSystemShape name
9478
10075
  * @param options The options parameters.
9479
10076
  */
9480
- get(location, autonomousdbversionsname, options) {
9481
- return this.client.sendOperationRequest({ location, autonomousdbversionsname, options }, getOperationSpec$9);
10077
+ get(location, dbsystemshapename, options) {
10078
+ return this.client.sendOperationRequest({ location, dbsystemshapename, options }, getOperationSpec$9);
9482
10079
  }
9483
10080
  /**
9484
10081
  * ListByLocationNext
@@ -9493,11 +10090,11 @@ class AutonomousDatabaseVersionsImpl {
9493
10090
  // Operation Specifications
9494
10091
  const serializer$9 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
9495
10092
  const listByLocationOperationSpec$4 = {
9496
- path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/autonomousDbVersions",
10093
+ path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/dbSystemShapes",
9497
10094
  httpMethod: "GET",
9498
10095
  responses: {
9499
10096
  200: {
9500
- bodyMapper: AutonomousDbVersionListResult,
10097
+ bodyMapper: DbSystemShapeListResult,
9501
10098
  },
9502
10099
  default: {
9503
10100
  bodyMapper: ErrorResponse,
@@ -9513,11 +10110,11 @@ const listByLocationOperationSpec$4 = {
9513
10110
  serializer: serializer$9,
9514
10111
  };
9515
10112
  const getOperationSpec$9 = {
9516
- path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/autonomousDbVersions/{autonomousdbversionsname}",
10113
+ path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/dbSystemShapes/{dbsystemshapename}",
9517
10114
  httpMethod: "GET",
9518
10115
  responses: {
9519
10116
  200: {
9520
- bodyMapper: AutonomousDbVersion,
10117
+ bodyMapper: DbSystemShape,
9521
10118
  },
9522
10119
  default: {
9523
10120
  bodyMapper: ErrorResponse,
@@ -9528,7 +10125,7 @@ const getOperationSpec$9 = {
9528
10125
  $host,
9529
10126
  subscriptionId,
9530
10127
  location,
9531
- autonomousdbversionsname,
10128
+ dbsystemshapename,
9532
10129
  ],
9533
10130
  headerParameters: [accept],
9534
10131
  serializer: serializer$9,
@@ -9538,7 +10135,7 @@ const listByLocationNextOperationSpec$4 = {
9538
10135
  httpMethod: "GET",
9539
10136
  responses: {
9540
10137
  200: {
9541
- bodyMapper: AutonomousDbVersionListResult,
10138
+ bodyMapper: DbSystemShapeListResult,
9542
10139
  },
9543
10140
  default: {
9544
10141
  bodyMapper: ErrorResponse,
@@ -9562,17 +10159,17 @@ const listByLocationNextOperationSpec$4 = {
9562
10159
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
9563
10160
  */
9564
10161
  /// <reference lib="esnext.asynciterable" />
9565
- /** Class containing DbSystemShapes operations. */
9566
- class DbSystemShapesImpl {
10162
+ /** Class containing DnsPrivateViews operations. */
10163
+ class DnsPrivateViewsImpl {
9567
10164
  /**
9568
- * Initialize a new instance of the class DbSystemShapes class.
10165
+ * Initialize a new instance of the class DnsPrivateViews class.
9569
10166
  * @param client Reference to the service client
9570
10167
  */
9571
10168
  constructor(client) {
9572
10169
  this.client = client;
9573
10170
  }
9574
10171
  /**
9575
- * List DbSystemShape resources by Location
10172
+ * List DnsPrivateView resources by Location
9576
10173
  * @param location The name of the Azure region.
9577
10174
  * @param options The options parameters.
9578
10175
  */
@@ -9634,7 +10231,7 @@ class DbSystemShapesImpl {
9634
10231
  });
9635
10232
  }
9636
10233
  /**
9637
- * List DbSystemShape resources by Location
10234
+ * List DnsPrivateView resources by Location
9638
10235
  * @param location The name of the Azure region.
9639
10236
  * @param options The options parameters.
9640
10237
  */
@@ -9642,13 +10239,13 @@ class DbSystemShapesImpl {
9642
10239
  return this.client.sendOperationRequest({ location, options }, listByLocationOperationSpec$3);
9643
10240
  }
9644
10241
  /**
9645
- * Get a DbSystemShape
10242
+ * Get a DnsPrivateView
9646
10243
  * @param location The name of the Azure region.
9647
- * @param dbsystemshapename DbSystemShape name
10244
+ * @param dnsprivateviewocid DnsPrivateView OCID
9648
10245
  * @param options The options parameters.
9649
10246
  */
9650
- get(location, dbsystemshapename, options) {
9651
- return this.client.sendOperationRequest({ location, dbsystemshapename, options }, getOperationSpec$8);
10247
+ get(location, dnsprivateviewocid, options) {
10248
+ return this.client.sendOperationRequest({ location, dnsprivateviewocid, options }, getOperationSpec$8);
9652
10249
  }
9653
10250
  /**
9654
10251
  * ListByLocationNext
@@ -9663,11 +10260,11 @@ class DbSystemShapesImpl {
9663
10260
  // Operation Specifications
9664
10261
  const serializer$8 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
9665
10262
  const listByLocationOperationSpec$3 = {
9666
- path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/dbSystemShapes",
10263
+ path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/dnsPrivateViews",
9667
10264
  httpMethod: "GET",
9668
10265
  responses: {
9669
10266
  200: {
9670
- bodyMapper: DbSystemShapeListResult,
10267
+ bodyMapper: DnsPrivateViewListResult,
9671
10268
  },
9672
10269
  default: {
9673
10270
  bodyMapper: ErrorResponse,
@@ -9683,11 +10280,11 @@ const listByLocationOperationSpec$3 = {
9683
10280
  serializer: serializer$8,
9684
10281
  };
9685
10282
  const getOperationSpec$8 = {
9686
- path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/dbSystemShapes/{dbsystemshapename}",
10283
+ path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/dnsPrivateViews/{dnsprivateviewocid}",
9687
10284
  httpMethod: "GET",
9688
10285
  responses: {
9689
10286
  200: {
9690
- bodyMapper: DbSystemShape,
10287
+ bodyMapper: DnsPrivateView,
9691
10288
  },
9692
10289
  default: {
9693
10290
  bodyMapper: ErrorResponse,
@@ -9698,7 +10295,7 @@ const getOperationSpec$8 = {
9698
10295
  $host,
9699
10296
  subscriptionId,
9700
10297
  location,
9701
- dbsystemshapename,
10298
+ dnsprivateviewocid,
9702
10299
  ],
9703
10300
  headerParameters: [accept],
9704
10301
  serializer: serializer$8,
@@ -9708,7 +10305,7 @@ const listByLocationNextOperationSpec$3 = {
9708
10305
  httpMethod: "GET",
9709
10306
  responses: {
9710
10307
  200: {
9711
- bodyMapper: DbSystemShapeListResult,
10308
+ bodyMapper: DnsPrivateViewListResult,
9712
10309
  },
9713
10310
  default: {
9714
10311
  bodyMapper: ErrorResponse,
@@ -9732,17 +10329,17 @@ const listByLocationNextOperationSpec$3 = {
9732
10329
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
9733
10330
  */
9734
10331
  /// <reference lib="esnext.asynciterable" />
9735
- /** Class containing DnsPrivateViews operations. */
9736
- class DnsPrivateViewsImpl {
10332
+ /** Class containing DnsPrivateZones operations. */
10333
+ class DnsPrivateZonesImpl {
9737
10334
  /**
9738
- * Initialize a new instance of the class DnsPrivateViews class.
10335
+ * Initialize a new instance of the class DnsPrivateZones class.
9739
10336
  * @param client Reference to the service client
9740
10337
  */
9741
10338
  constructor(client) {
9742
10339
  this.client = client;
9743
10340
  }
9744
10341
  /**
9745
- * List DnsPrivateView resources by Location
10342
+ * List DnsPrivateZone resources by Location
9746
10343
  * @param location The name of the Azure region.
9747
10344
  * @param options The options parameters.
9748
10345
  */
@@ -9804,7 +10401,7 @@ class DnsPrivateViewsImpl {
9804
10401
  });
9805
10402
  }
9806
10403
  /**
9807
- * List DnsPrivateView resources by Location
10404
+ * List DnsPrivateZone resources by Location
9808
10405
  * @param location The name of the Azure region.
9809
10406
  * @param options The options parameters.
9810
10407
  */
@@ -9812,13 +10409,13 @@ class DnsPrivateViewsImpl {
9812
10409
  return this.client.sendOperationRequest({ location, options }, listByLocationOperationSpec$2);
9813
10410
  }
9814
10411
  /**
9815
- * Get a DnsPrivateView
10412
+ * Get a DnsPrivateZone
9816
10413
  * @param location The name of the Azure region.
9817
- * @param dnsprivateviewocid DnsPrivateView OCID
10414
+ * @param dnsprivatezonename DnsPrivateZone name
9818
10415
  * @param options The options parameters.
9819
10416
  */
9820
- get(location, dnsprivateviewocid, options) {
9821
- return this.client.sendOperationRequest({ location, dnsprivateviewocid, options }, getOperationSpec$7);
10417
+ get(location, dnsprivatezonename, options) {
10418
+ return this.client.sendOperationRequest({ location, dnsprivatezonename, options }, getOperationSpec$7);
9822
10419
  }
9823
10420
  /**
9824
10421
  * ListByLocationNext
@@ -9833,11 +10430,11 @@ class DnsPrivateViewsImpl {
9833
10430
  // Operation Specifications
9834
10431
  const serializer$7 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
9835
10432
  const listByLocationOperationSpec$2 = {
9836
- path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/dnsPrivateViews",
10433
+ path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/dnsPrivateZones",
9837
10434
  httpMethod: "GET",
9838
10435
  responses: {
9839
10436
  200: {
9840
- bodyMapper: DnsPrivateViewListResult,
10437
+ bodyMapper: DnsPrivateZoneListResult,
9841
10438
  },
9842
10439
  default: {
9843
10440
  bodyMapper: ErrorResponse,
@@ -9853,11 +10450,11 @@ const listByLocationOperationSpec$2 = {
9853
10450
  serializer: serializer$7,
9854
10451
  };
9855
10452
  const getOperationSpec$7 = {
9856
- path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/dnsPrivateViews/{dnsprivateviewocid}",
10453
+ path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/dnsPrivateZones/{dnsprivatezonename}",
9857
10454
  httpMethod: "GET",
9858
10455
  responses: {
9859
10456
  200: {
9860
- bodyMapper: DnsPrivateView,
10457
+ bodyMapper: DnsPrivateZone,
9861
10458
  },
9862
10459
  default: {
9863
10460
  bodyMapper: ErrorResponse,
@@ -9868,7 +10465,7 @@ const getOperationSpec$7 = {
9868
10465
  $host,
9869
10466
  subscriptionId,
9870
10467
  location,
9871
- dnsprivateviewocid,
10468
+ dnsprivatezonename,
9872
10469
  ],
9873
10470
  headerParameters: [accept],
9874
10471
  serializer: serializer$7,
@@ -9878,7 +10475,7 @@ const listByLocationNextOperationSpec$2 = {
9878
10475
  httpMethod: "GET",
9879
10476
  responses: {
9880
10477
  200: {
9881
- bodyMapper: DnsPrivateViewListResult,
10478
+ bodyMapper: DnsPrivateZoneListResult,
9882
10479
  },
9883
10480
  default: {
9884
10481
  bodyMapper: ErrorResponse,
@@ -9902,17 +10499,17 @@ const listByLocationNextOperationSpec$2 = {
9902
10499
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
9903
10500
  */
9904
10501
  /// <reference lib="esnext.asynciterable" />
9905
- /** Class containing DnsPrivateZones operations. */
9906
- class DnsPrivateZonesImpl {
10502
+ /** Class containing GiVersions operations. */
10503
+ class GiVersionsImpl {
9907
10504
  /**
9908
- * Initialize a new instance of the class DnsPrivateZones class.
10505
+ * Initialize a new instance of the class GiVersions class.
9909
10506
  * @param client Reference to the service client
9910
10507
  */
9911
10508
  constructor(client) {
9912
10509
  this.client = client;
9913
10510
  }
9914
10511
  /**
9915
- * List DnsPrivateZone resources by Location
10512
+ * List GiVersion resources by Location
9916
10513
  * @param location The name of the Azure region.
9917
10514
  * @param options The options parameters.
9918
10515
  */
@@ -9974,7 +10571,7 @@ class DnsPrivateZonesImpl {
9974
10571
  });
9975
10572
  }
9976
10573
  /**
9977
- * List DnsPrivateZone resources by Location
10574
+ * List GiVersion resources by Location
9978
10575
  * @param location The name of the Azure region.
9979
10576
  * @param options The options parameters.
9980
10577
  */
@@ -9982,13 +10579,13 @@ class DnsPrivateZonesImpl {
9982
10579
  return this.client.sendOperationRequest({ location, options }, listByLocationOperationSpec$1);
9983
10580
  }
9984
10581
  /**
9985
- * Get a DnsPrivateZone
10582
+ * Get a GiVersion
9986
10583
  * @param location The name of the Azure region.
9987
- * @param dnsprivatezonename DnsPrivateZone name
10584
+ * @param giversionname GiVersion name
9988
10585
  * @param options The options parameters.
9989
10586
  */
9990
- get(location, dnsprivatezonename, options) {
9991
- return this.client.sendOperationRequest({ location, dnsprivatezonename, options }, getOperationSpec$6);
10587
+ get(location, giversionname, options) {
10588
+ return this.client.sendOperationRequest({ location, giversionname, options }, getOperationSpec$6);
9992
10589
  }
9993
10590
  /**
9994
10591
  * ListByLocationNext
@@ -10003,11 +10600,11 @@ class DnsPrivateZonesImpl {
10003
10600
  // Operation Specifications
10004
10601
  const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
10005
10602
  const listByLocationOperationSpec$1 = {
10006
- path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/dnsPrivateZones",
10603
+ path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/giVersions",
10007
10604
  httpMethod: "GET",
10008
10605
  responses: {
10009
10606
  200: {
10010
- bodyMapper: DnsPrivateZoneListResult,
10607
+ bodyMapper: GiVersionListResult,
10011
10608
  },
10012
10609
  default: {
10013
10610
  bodyMapper: ErrorResponse,
@@ -10023,11 +10620,11 @@ const listByLocationOperationSpec$1 = {
10023
10620
  serializer: serializer$6,
10024
10621
  };
10025
10622
  const getOperationSpec$6 = {
10026
- path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/dnsPrivateZones/{dnsprivatezonename}",
10623
+ path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/giVersions/{giversionname}",
10027
10624
  httpMethod: "GET",
10028
10625
  responses: {
10029
10626
  200: {
10030
- bodyMapper: DnsPrivateZone,
10627
+ bodyMapper: GiVersion,
10031
10628
  },
10032
10629
  default: {
10033
10630
  bodyMapper: ErrorResponse,
@@ -10038,7 +10635,7 @@ const getOperationSpec$6 = {
10038
10635
  $host,
10039
10636
  subscriptionId,
10040
10637
  location,
10041
- dnsprivatezonename,
10638
+ giversionname,
10042
10639
  ],
10043
10640
  headerParameters: [accept],
10044
10641
  serializer: serializer$6,
@@ -10048,7 +10645,7 @@ const listByLocationNextOperationSpec$1 = {
10048
10645
  httpMethod: "GET",
10049
10646
  responses: {
10050
10647
  200: {
10051
- bodyMapper: DnsPrivateZoneListResult,
10648
+ bodyMapper: GiVersionListResult,
10052
10649
  },
10053
10650
  default: {
10054
10651
  bodyMapper: ErrorResponse,
@@ -10072,17 +10669,17 @@ const listByLocationNextOperationSpec$1 = {
10072
10669
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
10073
10670
  */
10074
10671
  /// <reference lib="esnext.asynciterable" />
10075
- /** Class containing GiVersions operations. */
10076
- class GiVersionsImpl {
10672
+ /** Class containing SystemVersions operations. */
10673
+ class SystemVersionsImpl {
10077
10674
  /**
10078
- * Initialize a new instance of the class GiVersions class.
10675
+ * Initialize a new instance of the class SystemVersions class.
10079
10676
  * @param client Reference to the service client
10080
10677
  */
10081
10678
  constructor(client) {
10082
10679
  this.client = client;
10083
10680
  }
10084
10681
  /**
10085
- * List GiVersion resources by Location
10682
+ * List SystemVersion resources by Location
10086
10683
  * @param location The name of the Azure region.
10087
10684
  * @param options The options parameters.
10088
10685
  */
@@ -10144,7 +10741,7 @@ class GiVersionsImpl {
10144
10741
  });
10145
10742
  }
10146
10743
  /**
10147
- * List GiVersion resources by Location
10744
+ * List SystemVersion resources by Location
10148
10745
  * @param location The name of the Azure region.
10149
10746
  * @param options The options parameters.
10150
10747
  */
@@ -10152,13 +10749,13 @@ class GiVersionsImpl {
10152
10749
  return this.client.sendOperationRequest({ location, options }, listByLocationOperationSpec);
10153
10750
  }
10154
10751
  /**
10155
- * Get a GiVersion
10752
+ * Get a SystemVersion
10156
10753
  * @param location The name of the Azure region.
10157
- * @param giversionname GiVersion name
10754
+ * @param systemversionname SystemVersion name
10158
10755
  * @param options The options parameters.
10159
10756
  */
10160
- get(location, giversionname, options) {
10161
- return this.client.sendOperationRequest({ location, giversionname, options }, getOperationSpec$5);
10757
+ get(location, systemversionname, options) {
10758
+ return this.client.sendOperationRequest({ location, systemversionname, options }, getOperationSpec$5);
10162
10759
  }
10163
10760
  /**
10164
10761
  * ListByLocationNext
@@ -10173,11 +10770,11 @@ class GiVersionsImpl {
10173
10770
  // Operation Specifications
10174
10771
  const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
10175
10772
  const listByLocationOperationSpec = {
10176
- path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/giVersions",
10773
+ path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/systemVersions",
10177
10774
  httpMethod: "GET",
10178
10775
  responses: {
10179
10776
  200: {
10180
- bodyMapper: GiVersionListResult,
10777
+ bodyMapper: SystemVersionListResult,
10181
10778
  },
10182
10779
  default: {
10183
10780
  bodyMapper: ErrorResponse,
@@ -10193,11 +10790,11 @@ const listByLocationOperationSpec = {
10193
10790
  serializer: serializer$5,
10194
10791
  };
10195
10792
  const getOperationSpec$5 = {
10196
- path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/giVersions/{giversionname}",
10793
+ path: "/subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/systemVersions/{systemversionname}",
10197
10794
  httpMethod: "GET",
10198
10795
  responses: {
10199
10796
  200: {
10200
- bodyMapper: GiVersion,
10797
+ bodyMapper: SystemVersion,
10201
10798
  },
10202
10799
  default: {
10203
10800
  bodyMapper: ErrorResponse,
@@ -10208,7 +10805,7 @@ const getOperationSpec$5 = {
10208
10805
  $host,
10209
10806
  subscriptionId,
10210
10807
  location,
10211
- giversionname,
10808
+ systemversionname,
10212
10809
  ],
10213
10810
  headerParameters: [accept],
10214
10811
  serializer: serializer$5,
@@ -10218,7 +10815,7 @@ const listByLocationNextOperationSpec = {
10218
10815
  httpMethod: "GET",
10219
10816
  responses: {
10220
10817
  200: {
10221
- bodyMapper: GiVersionListResult,
10818
+ bodyMapper: SystemVersionListResult,
10222
10819
  },
10223
10820
  default: {
10224
10821
  bodyMapper: ErrorResponse,
@@ -11748,7 +12345,7 @@ const actionOperationSpec = {
11748
12345
  bodyMapper: ErrorResponse,
11749
12346
  },
11750
12347
  },
11751
- requestBody: body4,
12348
+ requestBody: body5,
11752
12349
  queryParameters: [apiVersion],
11753
12350
  urlParameters: [
11754
12351
  $host,
@@ -12188,7 +12785,7 @@ class OracleDatabaseManagementClient extends coreClient__namespace.ServiceClient
12188
12785
  requestContentType: "application/json; charset=utf-8",
12189
12786
  credential: credentials,
12190
12787
  };
12191
- const packageDetails = `azsdk-js-arm-oracledatabase/1.0.0-beta.1`;
12788
+ const packageDetails = `azsdk-js-arm-oracledatabase/1.0.0-beta.2`;
12192
12789
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
12193
12790
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
12194
12791
  : `${packageDetails}`;
@@ -12235,6 +12832,7 @@ class OracleDatabaseManagementClient extends coreClient__namespace.ServiceClient
12235
12832
  this.dnsPrivateViews = new DnsPrivateViewsImpl(this);
12236
12833
  this.dnsPrivateZones = new DnsPrivateZonesImpl(this);
12237
12834
  this.giVersions = new GiVersionsImpl(this);
12835
+ this.systemVersions = new SystemVersionsImpl(this);
12238
12836
  this.oracleSubscriptions = new OracleSubscriptionsImpl(this);
12239
12837
  this.autonomousDatabaseBackups = new AutonomousDatabaseBackupsImpl(this);
12240
12838
  this.dbServers = new DbServersImpl(this);