Skip to content

Commit

Permalink
Oracle.Database. Typespec preview introduced (#29305)
Browse files Browse the repository at this point in the history
* Oracle.Database. Typespec preview introduced

* Oracle.Database. Added systemversionname to cSpell.json

* Oracle.Database. Rolled back readme files

* Oracle.Database. Fixed DbNodes_listByParent operationId incosistency

* Oracle.Database. Added options for sdk emitters
  • Loading branch information
v-maksymm authored Jun 11, 2024
1 parent 6ab56f0 commit e9f47ec
Show file tree
Hide file tree
Showing 121 changed files with 8,790 additions and 470 deletions.
6 changes: 6 additions & 0 deletions cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -1332,6 +1332,12 @@
"Unhold",
"transferor's"
]
},
{
"filename": "**/specification/oracle/resource-manager/Oracle.Database/**/*.json",
"words": [
"systemversionname"
]
}
],
"enableFiletypes": [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"operationId": "AutonomousDatabaseBackups_CreateOrUpdate",
"title": "AutonomousDatabaseBackups_CreateOrUpdate",
"parameters": {
"api-version": "2023-09-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rg000",
"autonomousdatabasename": "databasedb1",
"adbbackupid": "1711644130",
"resource": {
"properties": {
"autonomousDatabaseOcid": "ocid1.autonomousdatabase.oc1..aaaaa3klq",
"displayName": "Nightly Backup",
"retentionPeriodInDays": 365
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg000/providers/Oracle.Database/autonomousDatabases/databasedb1/autonomousDatabaseBackups/1711644130",
"type": "Oracle.Database/autonomousDatabases/autonomousDatabaseBackups",
"properties": {
"autonomousDatabaseOcid": "ocid1.autonomousdatabase.oc1..aaaaa3klq",
"databaseSizeInTbs": 2,
"dbVersion": "19.6.0.0",
"displayName": "Nightly Backup",
"ocid": "ocid1.autonomousdatabasebackup.oc1..aaaaaaaavwpj",
"isAutomatic": true,
"isRestorable": true,
"lifecycleDetails": "Backup completed successfully",
"lifecycleState": "Active",
"retentionPeriodInDays": 365,
"sizeInTbs": 2,
"timeAvailableTil": "2025-01-09T20:44:09.466Z",
"timeStarted": "2024-01-09T19:44:09.466Z",
"timeEnded": "2024-01-09T20:44:09.466Z",
"backupType": "Full",
"provisioningState": "Succeeded"
}
}
},
"201": {
"headers": {
"Retry-After": 100
},
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg000/providers/Oracle.Database/autonomousDatabases/databasedb1/autonomousDatabaseBackups/backupdb1",
"type": "Oracle.Database/autonomousDatabases/autonomousDatabaseBackups",
"properties": {
"autonomousDatabaseOcid": "ocid1.autonomousdatabase.oc1..aaaaa3klq",
"databaseSizeInTbs": 2,
"dbVersion": "19.6.0.0",
"displayName": "Nightly Backup",
"ocid": "ocid1.autonomousdatabasebackup.oc1..aaaaaaaavwpj",
"isAutomatic": true,
"isRestorable": true,
"lifecycleDetails": "Backup completed successfully",
"lifecycleState": "Active",
"retentionPeriodInDays": 365,
"sizeInTbs": 2,
"timeAvailableTil": "2025-01-09T20:44:09.466Z",
"timeStarted": "2024-01-09T19:44:09.466Z",
"timeEnded": "2024-01-09T20:44:09.466Z",
"backupType": "Full",
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"operationId": "AutonomousDatabaseBackups_Delete",
"title": "AutonomousDatabaseBackups_Delete",
"parameters": {
"api-version": "2023-09-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rg000",
"autonomousdatabasename": "databasedb1",
"adbbackupid": "1711644130"
},
"responses": {
"202": {
"headers": {
"Retry-After": 100,
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg000/providers/Oracle.Database/autonomousDatabaseBackups/1711644130/operationStatus"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"operationId": "AutonomousDatabaseBackups_Get",
"title": "AutonomousDatabaseBackups_Get",
"parameters": {
"api-version": "2023-09-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rg000",
"autonomousdatabasename": "databasedb1",
"adbbackupid": "1711644130"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg000/providers/Oracle.Database/autonomousDatabases/databasedb1/autonomousDatabaseBackups/1711644130",
"type": "Oracle.Database/autonomousDatabases/autonomousDatabaseBackups",
"properties": {
"autonomousDatabaseOcid": "ocid1.autonomousdatabase.oc1..aaaaa3klq",
"databaseSizeInTbs": 2,
"dbVersion": "19.6.0.0",
"displayName": "Nightly Backup",
"ocid": "ocid1.autonomousdatabasebackup.oc1..aaaaaaaavwpj",
"isAutomatic": true,
"isRestorable": true,
"lifecycleDetails": "Backup completed successfully",
"lifecycleState": "Active",
"retentionPeriodInDays": 365,
"sizeInTbs": 2,
"timeAvailableTil": "2025-01-09T20:44:09.466Z",
"timeStarted": "2024-01-09T19:44:09.466Z",
"timeEnded": "2024-01-09T20:44:09.466Z",
"backupType": "Full",
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"operationId": "AutonomousDatabaseBackups_ListByAutonomousDatabase",
"title": "AutonomousDatabaseBackups_ListByAutonomousDatabase",
"parameters": {
"api-version": "2023-09-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rg000",
"autonomousdatabasename": "databasedb1"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg000/providers/Oracle.Database/autonomousDatabases/databasedb1/autonomousDatabaseBackups/1711644130",
"type": "Oracle.Database/autonomousDatabases/autonomousDatabaseBackups",
"properties": {
"autonomousDatabaseOcid": "ocid1.autonomousdatabase.oc1..aaaaa3klq",
"databaseSizeInTbs": 2,
"dbVersion": "19.6.0.0",
"displayName": "Nightly Backup",
"ocid": "ocid1.autonomousdatabasebackup.oc1..aaaaaaaavwpj",
"isAutomatic": true,
"isRestorable": true,
"lifecycleDetails": "Backup completed successfully",
"lifecycleState": "Active",
"retentionPeriodInDays": 365,
"sizeInTbs": 2,
"timeAvailableTil": "2025-01-09T20:44:09.466Z",
"timeEnded": "2024-01-09T20:44:09.466Z",
"backupType": "Full",
"provisioningState": "Succeeded"
}
}
],
"nextLink": null
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"operationId": "AutonomousDatabaseBackups_Update",
"title": "AutonomousDatabaseBackups_Update",
"parameters": {
"api-version": "2023-09-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "rg000",
"autonomousdatabasename": "databasedb1",
"adbbackupid": "1711644130",
"properties": {}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg000/providers/Oracle.Database/autonomousDatabases/databasedb1/autonomousDatabaseBackups/1711644130",
"type": "Oracle.Database/autonomousDatabases/autonomousDatabaseBackups",
"properties": {
"autonomousDatabaseOcid": "ocid1.autonomousdatabase.oc1..aaaaa3klq",
"databaseSizeInTbs": 2,
"dbVersion": "19.6.0.0",
"displayName": "Nightly Backup",
"ocid": "ocid1.autonomousdatabasebackup.oc1..aaaaaaaavwpj",
"isAutomatic": true,
"isRestorable": true,
"lifecycleDetails": "Backup updated successfully",
"lifecycleState": "Active",
"retentionPeriodInDays": 400,
"sizeInTbs": 2,
"backupType": "Full",
"provisioningState": "Succeeded"
}
}
},
"202": {
"headers": {
"Retry-After": 100,
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg000/providers/Oracle.Database/autonomousDatabaseBackups/1711644130/operationStatus"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"operationId": "AutonomousDatabaseCharacterSets_get",
"title": "AutonomousDatabaseCharacterSets_get",
"parameters": {
"api-version": "2023-09-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"location": "eastus",
"adbscharsetname": "DATABASE"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg000/providers/Oracle.Database/locations/eastus/autonomousDatabaseCharacterSets/DATABASE",
"type": "Oracle.Database/locations/autonomousDatabaseCharacterSets",
"properties": {
"characterSet": "AL32UTF8"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"operationId": "AutonomousDatabaseCharacterSets_listByLocation",
"title": "AutonomousDatabaseCharacterSets_listByLocation",
"parameters": {
"api-version": "2023-09-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"location": "eastus"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg000/providers/Oracle.Database/locations/eastus/autonomousDatabaseCharacterSets/DATABASE",
"type": "Oracle.Database/locations/autonomousDatabaseCharacterSets",
"properties": {
"characterSet": "AL32UTF8"
}
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg000/providers/Oracle.Database/locations/eastus/autonomousDatabaseCharacterSets/DATABASE",
"type": "Oracle.Database/locations/autonomousDatabaseCharacterSets",
"properties": {
"characterSet": "UTF8"
}
}
],
"nextLink": null
}
}
}
}
Loading

0 comments on commit e9f47ec

Please sign in to comment.