Skip to content

Commit

Permalink
[dataprotection] Migrate recovery-point and job subgroups to AAZ-…
Browse files Browse the repository at this point in the history
…dev-tools (#6343)

* recovery-point and job migrated

* Cleaned up client factory for job, recovery-point

* Also cleaned up client factory for backup-vault

* AKS Test Success

* Version changes to 0.8.1

* Added license header in recovery_point.py

* Removed unused import in recovery_point.py

* Updated dataprotection short summary

* Deleted manual version.py

* Removed manual VERSION from setup.py
  • Loading branch information
vishesh155 authored Jun 1, 2023
1 parent 607feb2 commit 7150b24
Show file tree
Hide file tree
Showing 26 changed files with 11,446 additions and 10,699 deletions.
5 changes: 5 additions & 0 deletions src/dataprotection/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Release History
===============
0.8.1
+++++
* `az dataprotection recovery-point`: Migrated to AAZ-dev-tools
* `az dataprotection job`: Migrated to AAZ-dev-tools

0.8.0
+++++
* Add support for new datasource type: AzureKubernetesService (for all relevant operations in `backup-instance`` and `backup-policy`)
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 backup instance with dataprotection
"""Manage 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 job",
is_experimental=True,
)
class __CMDGroup(AAZCommandGroup):
"""Manage job with dataprotection.
"""
pass


__all__ = ["__CMDGroup"]
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# --------------------------------------------------------------------------
# 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 Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

VERSION = "0.8.0"
# --------------------------------------------------------------------------------------------
# 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 ._list import *
from ._show import *
Loading

0 comments on commit 7150b24

Please sign in to comment.