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

[NetAppFiles] bump to 2024-03-01-preview #7947

Merged
Merged
Show file tree
Hide file tree
Changes from 7 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
4 changes: 4 additions & 0 deletions src/netappfiles-preview/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Release History
===============
0.5.2
audunn marked this conversation as resolved.
Show resolved Hide resolved
+++++
Support for api-version 2024-03-01-preview

0.4.2
+++++
Support for api-version 2022-11-01-preview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,3 @@
# --------------------------------------------------------------------------------------------

# pylint: disable=unused-argument


def cf_netapp(cli_ctx, *kwargs):
from azure.cli.core.commands.client_factory import get_mgmt_service_client
from azext_netappfiles_preview.vendored_sdks import AzureNetAppFilesManagementClient
return get_mgmt_service_client(cli_ctx, AzureNetAppFilesManagementClient)


def accounts_mgmt_client_factory(cli_ctx, _):
return cf_netapp(cli_ctx).accounts


def pools_mgmt_client_factory(cli_ctx, _):
return cf_netapp(cli_ctx).pools


def volumes_mgmt_client_factory(cli_ctx, _):
return cf_netapp(cli_ctx).volumes


def mount_targets_mgmt_client_factory(cli_ctx, _):
return cf_netapp(cli_ctx).mount_targets


def snapshots_mgmt_client_factory(cli_ctx, _):
return cf_netapp(cli_ctx).snapshots
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(
"netappfiles",
is_preview=True,
)
class __CMDGroup(AAZCommandGroup):
"""Manage Azure NetApp Files (ANF) Resources
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command_group(
"netappfiles account",
is_preview=True,
)
class __CMDGroup(AAZCommandGroup):
"""Manage Azure NetApp Files (ANF) Account Resources.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,11 @@
# flake8: noqa

from .__cmd_group import *
from ._create import *
from ._delete import *
from ._list import *
from ._migrate_backup import *
from ._renew_credentials import *
from ._show import *
from ._update import *
from ._wait import *
Loading
Loading