Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Storage] az storage account task-assignment: Add task assignment preview, mark storage account migration as GA #7774

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: skip-file
# flake8: noqa

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command_group(
"storage",
is_preview=True,
)
class __CMDGroup(AAZCommandGroup):
"""Manage Azure Cloud Storage resources.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command_group(
"storage account",
is_preview=True,
)
class __CMDGroup(AAZCommandGroup):
"""Manage storage accounts.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command_group(
"storage account migration",
is_preview=True,
)
class __CMDGroup(AAZCommandGroup):
"""Manage Storage Account Migration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@

@register_command(
"storage account migration show",
is_preview=True,
)
class Show(AAZCommand):
"""Get the status of the ongoing migration for the specified storage account.

:example: migration show
az storage account migration show --account-name "storage_account_name" -g "resource_group_name"
"""

_aaz_info = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@

@register_command(
"storage account migration start",
is_preview=True,
)
class Start(AAZCommand):
"""Account Migration request can be triggered for a storage account to change its redundancy level. The migration updates the non-zonal redundant storage account to a zonal redundant account or vice-versa in order to have better reliability and availability. Zone-redundant storage (ZRS) replicates your storage account synchronously across three Azure availability zones in the primary region.

:example: migration start
az storage account migration start --account-name "storage_account_name" -g "resource_group_name" --sku Standard_ZRS --name default --no-wait
"""

_aaz_info = {
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(
"storage account task-assignment",
is_preview=True,
)
class __CMDGroup(AAZCommandGroup):
"""Manage storage account task assignment.
"""
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 ._list import *
from ._list_report import *
from ._show import *
from ._update import *
from ._wait import *
Loading
Loading