Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
7e5c7c0
Baseline for backup-instance migration. Fix backup-vault issue.
Feb 20, 2023
1f664a1
A super hacky but functional validate
Mar 15, 2023
660779b
reset to minimal changes required for AKS
Mar 29, 2023
7e3da97
suboptimal solution but one that works
Mar 29, 2023
3d28860
Cleaner solution for BI Create/Validate
Mar 31, 2023
91fc2f2
Removing the BI JSON files
Mar 31, 2023
c446291
bi validate and create work
Mar 31, 2023
8c38f06
Mid-migration: restore work left
Apr 6, 2023
dc1d39d
minor changes mostly. item recovery is not tested, and restore trigge…
Apr 6, 2023
1ea6e40
attempts at validate/trigger restore
Apr 6, 2023
47a7a53
Functioning ValidateForRestore, using helper snake case modifier
Apr 10, 2023
ceabf05
Restore trigger should also work now?
Apr 10, 2023
14986ec
Reasonably stable restore and validate for it
Apr 11, 2023
6eaf20e
Merge branch 'main' into migrate-bi-bp-dpp
Apr 11, 2023
9439e2c
2023-01-01 API + AKS Manifest
Apr 18, 2023
648d4de
backup config command, perhaps
Apr 18, 2023
08c367b
Updated the manifests for AKS
Apr 19, 2023
82006e9
Change command to initialize-backupconfig for brevity
Apr 19, 2023
cd9945f
init now works
Apr 20, 2023
a033c60
Forgot backupconfig in init
Apr 20, 2023
4276d72
midway: datasource perms, updated manifest format, AKS message in hel…
Apr 20, 2023
148b42e
AKS changes for msi perms half done
Apr 20, 2023
1e4b449
update-msi-permissions for AKS backup
Apr 21, 2023
921b2f3
Item and data level recovery restore config code created
Apr 24, 2023
85ec57b
Adding datasource map for AKS
Apr 27, 2023
f625b4a
Added resource_uri for AKS, TODO clean up code
Apr 27, 2023
425a55c
reworking init for AKS, and backup validate/create as well
Apr 27, 2023
1b9229a
it works, backup validate works
Apr 27, 2023
c872740
initialize-restoreconfig code + comments for init restore(s)
Apr 28, 2023
f4bdacc
Update-MSI: fix for backup, and restore in general
Apr 28, 2023
b728bfc
boilerplate for alternate/original location in CLI
Apr 28, 2023
8c15915
Fix for update-msi-perms for restore
Apr 29, 2023
a63bf24
fixes, gets restore working
Apr 29, 2023
4a24e23
starting d_p -> dp, removing old dp references. update-msi and create…
Apr 30, 2023
80a4c28
overriding old autorest code with new manually written code, for bi c…
Apr 30, 2023
ce68bdb
migrated to dataprotection, seems to work. help text pending
Apr 30, 2023
726db8e
Doc fixes
May 2, 2023
ca54a30
Removing print statements from command
May 3, 2023
fd2a3f3
Fix bool flag bug
May 4, 2023
f92840f
Upgrading version
May 4, 2023
4ca9931
Namespace mapping validation, and version upgrade
May 4, 2023
d9cfe3c
properly fixing the version number, I keep missing it
May 4, 2023
6363ae0
(currently unused) updated grant permissions help text generator
May 5, 2023
2247e69
Updated help text, better logs
May 5, 2023
4f98e82
ALR/OLR verification
May 5, 2023
39054b0
Preview -> experimental
May 5, 2023
bf8c579
Updated version number with proper history
May 5, 2023
ba07034
AZ style changes
May 5, 2023
15594d8
Fix dictionary key invalid bug
May 5, 2023
0aa202b
Updated ValidateForBackup to remove Update dependency
May 9, 2023
c7db222
Setup and configure backup for AKS tests
May 9, 2023
5bbdb78
Functional tests for backup configure
May 9, 2023
af5cb79
Fixed error/non error backup validate issue
May 10, 2023
a01f6ea
Fully functional tests, might be flaky?
May 10, 2023
97045d5
all workloads tested live with new version once
May 15, 2023
c3b69f6
All tests work in recorded mode now
May 15, 2023
4f2d72c
Merge branch 'main' into migrate-bi-bp-dpp
May 16, 2023
1a0796e
Tests passing with latest dev
May 16, 2023
e07b682
Tests passing with latest dev for other workloads
May 16, 2023
1d5b61d
PR nit: move @AllowLargeResponse
May 18, 2023
e63b327
PR Nit: long option names
May 18, 2023
befdf48
long option name: datasource-auth-credentials
May 19, 2023
fd772a4
trailing whitespace in params
May 19, 2023
b711812
Attempt at passing test
May 19, 2023
0f6526a
Revert previous commit
May 22, 2023
10cf4df
Pushing setup to test_dataprotection_aks function, test > self
May 22, 2023
714c7af
Removing setup function as well
May 22, 2023
e7e018c
Removing setup function and moving call_scenario code for test_datapr…
May 22, 2023
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
10 changes: 10 additions & 0 deletions src/dataprotection/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

Release History
===============
0.8.0
+++++
* Add support for new datasource type: AzureKubernetesService (for all relevant operations in `backup-instance`` and `backup-policy`)
* `az dataprotection backup-instance initialize-backupconfig`: New command to create a backup configuration required for AzureKubernetesService backup.
* `az dataprotection backup-instance initialize-restoreconfig`: New command to create a restore configuration required for AzureKubernetesService restore.
* `az dataprotection backup-instance update-msi-permissions`: Added support for "Restore" operation.
* `az dataprotection backup-instance initialize`: Add parameters `--friendly-name` and `--backup-configuration` for AzureKubernetesService support.
* `az dataprotection backup-instance initialize-for-data-recovery`: Add parameter `--backup-instance-id`, adding support for Original Location Restore.
* `az dataprotection backup-instance initialize-for-item-recovery`: Add parameter `--target-resource-id`, adding support for Alternate Location Restore.

0.7.0
++++++
* `az dataprotection backup-vault create`: Add support for optional `--immutability-state`, `--soft-delete-state`, `--soft-delete-retention` parameters, corresponding to new Immutable Vault and Enhanced Soft Delete features
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
is_experimental=True,
)
class __CMDGroup(AAZCommandGroup):
"""Manage Data Protection.
"""Manage backup instance with dataprotection
"""
pass

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: skip-file
# flake8: noqa

from azure.cli.core.aaz import *


@register_command_group(
"dataprotection backup-instance",
is_experimental=True,
)
class __CMDGroup(AAZCommandGroup):
"""Manage backup instance with dataprotection
"""
pass


__all__ = ["__CMDGroup"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: skip-file
# flake8: noqa

from .__cmd_group import *
from ._create import *
from ._delete import *
from ._show import *
from ._update import *
from ._validate_for_backup import *
from ._validate_for_restore import *
from ._wait import *
Loading