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
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,3 @@ def cf_capacity_reservation_groups(cli_ctx, *_):

def cf_capacity_reservations(cli_ctx, *_):
return cf_vm_cl(cli_ctx).capacity_reservations


def cf_restore_point(cli_ctx, *_):
return cf_vm_cl(cli_ctx).restore_points
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------
# swagger change: https://github.com/Azure/azure-rest-api-specs/pull/32901

# pylint: skip-file
# flake8: noqa
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@
# flake8: noqa

from .__cmd_group import *
from ._create import *
from ._delete import *
from ._show import *
from ._wait import *

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ class Delete(AAZCommand):
"""

_aaz_info = {
"version": "2022-08-01",
"version": "2024-11-01",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/restorepointcollections/{}/restorepoints/{}", "2022-08-01"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/restorepointcollections/{}/restorepoints/{}", "2024-11-01"],
]
}

Expand All @@ -44,7 +44,6 @@ def _build_arguments_schema(cls, *args, **kwargs):

_args_schema = cls._args_schema
_args_schema.resource_group = AAZResourceGroupNameArg(
help="Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.",
required=True,
)
_args_schema.restore_point_collection_name = AAZStrArg(
Expand Down Expand Up @@ -86,7 +85,7 @@ def __call__(self, *args, **kwargs):
session,
self.on_200,
self.on_error,
lro_options={"final-state-via": "azure-async-operation"},
lro_options={"final-state-via": "location"},
path_format_arguments=self.url_parameters,
)
if session.http_response.status_code in [200]:
Expand All @@ -95,7 +94,7 @@ def __call__(self, *args, **kwargs):
session,
self.on_200,
self.on_error,
lro_options={"final-state-via": "azure-async-operation"},
lro_options={"final-state-via": "location"},
path_format_arguments=self.url_parameters,
)
if session.http_response.status_code in [204]:
Expand All @@ -104,7 +103,7 @@ def __call__(self, *args, **kwargs):
session,
self.on_204,
self.on_error,
lro_options={"final-state-via": "azure-async-operation"},
lro_options={"final-state-via": "location"},
path_format_arguments=self.url_parameters,
)

Expand Down Expand Up @@ -151,7 +150,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2022-08-01",
"api-version", "2024-11-01",
required=True,
),
}
Expand Down
Loading