Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"locationName": "japaneast",
"longTermRetentionServerName": "testserver",
"longTermRetentionDatabaseName": "testDatabase",
"backupName": "55555555-6666-7777-8888-999999999999;131637960820000000;Hot",
"api-version": "2024-11-01-preview"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionBackupOperationResults/01234567-890a-bcde-f012-34567890abcd",
"name": "01234567-890a-bcde-f012-34567890abcd",
"type": "Microsoft.Sql/locations/longTermRetentionBackupOperationResults",
"properties": {
"requestId": "01234567-890a-bcde-f012-34567890abcd",
"operationType": "LockTimeBasedImmutability",
"fromBackupResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131637960820000000;Hot",
"status": "Succeeded"
}
}
},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionBackupAzureAsyncOperation/01234567-890a-bcde-f012-34567890abcd?api-version=2024-11-01-preview"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"locationName": "japaneast",
"longTermRetentionServerName": "testserver",
"longTermRetentionDatabaseName": "testDatabase",
"backupName": "55555555-6666-7777-8888-999999999999;131637960820000000;Archive",
"backupName": "55555555-6666-7777-8888-999999999999;131637960820000000;Hot",
"api-version": "2024-11-01-preview"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131637960820000000;Archive",
"name": "55555555-6666-7777-8888-999999999999;131637960820000000;Archive",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131637960820000000;Hot",
"name": "55555555-6666-7777-8888-999999999999;131637960820000000;Hot",
"type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups",
"properties": {
"serverName": "testserver",
Expand All @@ -20,8 +20,11 @@
"databaseDeletionTime": null,
"backupTime": "2017-09-06T08:00:00Z",
"backupStorageRedundancy": "Geo",
"isBackupImmutable": false,
"backupStorageAccessTier": "Archive"
"backupStorageAccessTier": "Hot",
"isBackupImmutable": true,
"timeBasedImmutability": "Enabled",
"timeBasedImmutabilityMode": "Locked",
"legalHoldImmutability": "Disabled"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,6 @@
"200": {
"body": {
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131637960820000000;Archive",
"name": "55555555-6666-7777-8888-999999999999;131637960820000000;Archive",
"type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups",
"properties": {
"serverName": "testserver",
"serverCreateTime": "2017-03-10T08:00:00Z",
"databaseName": "testDatabase",
"databaseDeletionTime": null,
"backupTime": "2017-08-23T08:00:00Z",
"backupStorageRedundancy": "Geo",
"isBackupImmutable": false,
"backupStorageAccessTier": "Archive"
}
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131637960820000000;Hot",
"name": "55555555-6666-7777-8888-999999999999;131637960820000000;Hot",
Expand All @@ -36,13 +21,16 @@
"databaseDeletionTime": null,
"backupTime": "2017-08-23T08:00:00Z",
"backupStorageRedundancy": "Geo",
"isBackupImmutable": false,
"isBackupImmutable": true,
"timeBasedImmutability": "Disabled",
"timeBasedImmutabilityMode": "Unlocked",
"legalHoldImmutability": "Enabled",
"backupStorageAccessTier": "Hot"
}
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131677960820000000;Hot",
"name": "55555555-6666-7777-8888-999999999999;131677960820000000;Archive",
"name": "55555555-6666-7777-8888-999999999999;131677960820000000;Hot",
"type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups",
"properties": {
"serverName": "testserver",
Expand All @@ -51,7 +39,10 @@
"databaseDeletionTime": "2017-09-07T08:00:00Z",
"backupTime": "2017-09-06T08:00:00Z",
"backupStorageRedundancy": "Geo",
"isBackupImmutable": false,
"isBackupImmutable": true,
"timeBasedImmutability": "Enabled",
"timeBasedImmutabilityMode": "Unlocked",
"legalHoldImmutability": "Disabled",
"backupStorageAccessTier": "Hot"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,6 @@
"200": {
"body": {
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver1/longTermRetentionDatabases/testDatabase1/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131637960820000000;Archive",
"name": "55555555-6666-7777-8888-999999999999;131637960820000000;Archive",
"type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups",
"properties": {
"serverName": "testserver1",
"serverCreateTime": "2017-03-10T08:00:00Z",
"databaseName": "testDatabase1",
"databaseDeletionTime": null,
"backupTime": "2017-08-23T08:00:00Z",
"backupStorageRedundancy": "Geo",
"isBackupImmutable": false,
"backupStorageAccessTier": "Archive"
}
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver1/longTermRetentionDatabases/testDatabase1/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131637960820000000;Hot",
"name": "55555555-6666-7777-8888-999999999999;131637960820000000;Hot",
Expand All @@ -34,13 +19,16 @@
"databaseDeletionTime": null,
"backupTime": "2017-08-23T08:00:00Z",
"backupStorageRedundancy": "Geo",
"isBackupImmutable": false,
"isBackupImmutable": true,
"timeBasedImmutability": "Enabled",
"timeBasedImmutabilityMode": "Locked",
"legalHoldImmutability": "Disabled",
"backupStorageAccessTier": "Hot"
}
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver2/longTermRetentionDatabases/testDatabase2/longTermRetentionBackups/12341234-1234-1234-1234-123123123123;131657960820000000;Archive",
"name": "12341234-1234-1234-1234-123123123123;131657960820000000;Archive",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver2/longTermRetentionDatabases/testDatabase2/longTermRetentionBackups/12341234-1234-1234-1234-123123123123;131657960820000000;Hot",
"name": "12341234-1234-1234-1234-123123123123;131657960820000000;Hot",
"type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups",
"properties": {
"serverName": "testserver2",
Expand All @@ -49,8 +37,11 @@
"databaseDeletionTime": null,
"backupTime": "2017-08-30T08:00:00Z",
"backupStorageRedundancy": "Geo",
"isBackupImmutable": false,
"backupStorageAccessTier": "Archive"
"isBackupImmutable": true,
"timeBasedImmutability": "Enabled",
"timeBasedImmutabilityMode": "Locked",
"legalHoldImmutability": "Disabled",
"backupStorageAccessTier": "Hot"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,6 @@
"200": {
"body": {
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase1/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131637960820000000;Archive",
"name": "55555555-6666-7777-8888-999999999999;131637960820000000;Archive",
"type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups",
"properties": {
"serverName": "testserver",
"serverCreateTime": "2017-03-10T08:00:00Z",
"databaseName": "testDatabase1",
"databaseDeletionTime": null,
"backupTime": "2017-08-23T08:00:00Z",
"backupStorageRedundancy": "Geo",
"isBackupImmutable": false,
"backupStorageAccessTier": "Archive"
}
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase1/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131637960820000000;Hot",
"name": "55555555-6666-7777-8888-999999999999;131637960820000000;Hot",
Expand All @@ -35,13 +20,16 @@
"databaseDeletionTime": null,
"backupTime": "2017-08-23T08:00:00Z",
"backupStorageRedundancy": "Geo",
"isBackupImmutable": false,
"isBackupImmutable": true,
"timeBasedImmutability": "Enabled",
"timeBasedImmutabilityMode": "Locked",
"legalHoldImmutability": "Disabled",
"backupStorageAccessTier": "Hot"
}
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase2/longTermRetentionBackups/12341234-1234-1234-1234-123123123123;131657960820000000;Archive",
"name": "12341234-1234-1234-1234-123123123123;131657960820000000;Archive",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase2/longTermRetentionBackups/12341234-1234-1234-1234-123123123123;131657960820000000;Hot",
"name": "12341234-1234-1234-1234-123123123123;131657960820000000;Hot",
"type": "Microsoft.Sql/locations/longTermRetentionServers/longTermRetentionDatabases/longTermRetentionBackups",
"properties": {
"serverName": "testserver",
Expand All @@ -50,8 +38,11 @@
"databaseDeletionTime": null,
"backupTime": "2017-08-30T08:00:00Z",
"backupStorageRedundancy": "Geo",
"isBackupImmutable": false,
"backupStorageAccessTier": "Archive"
"isBackupImmutable": true,
"timeBasedImmutability": "Enabled",
"timeBasedImmutabilityMode": "Locked",
"legalHoldImmutability": "Disabled",
"backupStorageAccessTier": "Hot"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
"weeklyRetention": "P1M",
"monthlyRetention": "P1Y",
"yearlyRetention": "P5Y",
"weekOfYear": 5
"weekOfYear": 5,
"timeBasedImmutability": "Enabled",
"timeBasedImmutabilityMode": "Unlocked"
}
}
},
Expand All @@ -25,7 +27,9 @@
"weeklyRetention": "P1M",
"monthlyRetention": "P1Y",
"yearlyRetention": "P5Y",
"weekOfYear": 5
"weekOfYear": 5,
"timeBasedImmutability": "Enabled",
"timeBasedImmutabilityMode": "Unlocked"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
"weeklyRetention": "P1M",
"monthlyRetention": "P1Y",
"yearlyRetention": "P5Y",
"weekOfYear": 5
"weekOfYear": 5,
"timeBasedImmutability": "Enabled",
"timeBasedImmutabilityMode": "Unlocked"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
"weeklyRetention": "P1M",
"monthlyRetention": "P1Y",
"yearlyRetention": "P5Y",
"weekOfYear": 5
"weekOfYear": 5,
"timeBasedImmutability": "Enabled",
"timeBasedImmutabilityMode": "Unlocked"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"locationName": "japaneast",
"longTermRetentionServerName": "testserver",
"longTermRetentionDatabaseName": "testDatabase",
"backupName": "55555555-6666-7777-8888-999999999999;131637960820000000;Hot",
"api-version": "2024-11-01-preview"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionBackupOperationResults/01234567-890a-bcde-f012-34567890abcd",
"name": "01234567-890a-bcde-f012-34567890abcd",
"type": "Microsoft.Sql/locations/longTermRetentionBackupOperationResults",
"properties": {
"requestId": "01234567-890a-bcde-f012-34567890abcd",
"operationType": "RemoveLegalHold",
"fromBackupResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131637960820000000;Hot",
"status": "Succeeded"
}
}
},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionBackupAzureAsyncOperation/01234567-890a-bcde-f012-34567890abcd?api-version=2024-11-01-preview"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"locationName": "japaneast",
"longTermRetentionServerName": "testserver",
"longTermRetentionDatabaseName": "testDatabase",
"backupName": "55555555-6666-7777-8888-999999999999;131637960820000000;Hot",
"api-version": "2024-11-01-preview"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionBackupOperationResults/01234567-890a-bcde-f012-34567890abcd",
"name": "01234567-890a-bcde-f012-34567890abcd",
"type": "Microsoft.Sql/locations/longTermRetentionBackupOperationResults",
"properties": {
"requestId": "01234567-890a-bcde-f012-34567890abcd",
"operationType": "RemoveTimeBasedImmutability",
"fromBackupResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131637960820000000;Hot",
"status": "Succeeded"
}
}
},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionBackupAzureAsyncOperation/01234567-890a-bcde-f012-34567890abcd?api-version=2024-11-01-preview"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"locationName": "japaneast",
"resourcegroup": "resourcegroup",
"longTermRetentionServerName": "testserver",
"longTermRetentionDatabaseName": "testDatabase",
"backupName": "55555555-6666-7777-8888-999999999999;131637960820000000;Hot",
"api-version": "2024-11-01-preview"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroupName/providers/Microsoft.Sql/locations/japaneast/longTermRetentionBackupOperationResults/01234567-890a-bcde-f012-34567890abcd",
"name": "01234567-890a-bcde-f012-34567890abcd",
"type": "Microsoft.Sql/locations/longTermRetentionBackupOperationResults",
"properties": {
"requestId": "01234567-890a-bcde-f012-34567890abcd",
"operationType": "LockTimeBasedImmutability",
"fromBackupResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroupName/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131637960820000000;Hot",
"status": "Succeeded"
}
}
},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroupName/providers/Microsoft.Sql/locations/japaneast/longTermRetentionBackupAzureAsyncOperation/01234567-890a-bcde-f012-34567890abcd?api-version=2024-11-01-preview"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"locationName": "japaneast",
"longTermRetentionServerName": "testserver",
"longTermRetentionDatabaseName": "testDatabase",
"backupName": "55555555-6666-7777-8888-999999999999;131637960820000000;Archive",
"backupName": "55555555-6666-7777-8888-999999999999;131637960820000000;Hot",
"api-version": "2024-11-01-preview"
},
"responses": {
Expand Down
Loading
Loading