Skip to content

Commit 317b543

Browse files
committed
codegen
1 parent 2b87b6c commit 317b543

8 files changed

Lines changed: 4014 additions & 32 deletions

File tree

src/azure-cli/azure/cli/command_modules/vm/aaz/latest/restore_point/collection/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
# flake8: noqa
1010

1111
from .__cmd_group import *
12+
from ._create import *
1213
from ._delete import *
1314
from ._list import *
1415
from ._list_all import *
16+
from ._show import *
17+
from ._update import *
18+
from ._wait import *

src/azure-cli/azure/cli/command_modules/vm/aaz/latest/restore_point/collection/_create.py

Lines changed: 935 additions & 0 deletions
Large diffs are not rendered by default.

src/azure-cli/azure/cli/command_modules/vm/aaz/latest/restore_point/collection/_delete.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ class Delete(AAZCommand):
2020
"""
2121

2222
_aaz_info = {
23-
"version": "2022-11-01",
23+
"version": "2024-11-01",
2424
"resources": [
25-
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/restorepointcollections/{}", "2022-11-01"],
25+
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/restorepointcollections/{}", "2024-11-01"],
2626
]
2727
}
2828

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

4545
_args_schema = cls._args_schema
4646
_args_schema.resource_group = AAZResourceGroupNameArg(
47-
help="Name of resource group. You can configure the default group using `az configure --defaults group=<name>`.",
4847
required=True,
4948
)
5049
_args_schema.restore_point_collection_name = AAZStrArg(
@@ -80,7 +79,7 @@ def __call__(self, *args, **kwargs):
8079
session,
8180
self.on_200,
8281
self.on_error,
83-
lro_options={"final-state-via": "azure-async-operation"},
82+
lro_options={"final-state-via": "location"},
8483
path_format_arguments=self.url_parameters,
8584
)
8685
if session.http_response.status_code in [200]:
@@ -89,7 +88,7 @@ def __call__(self, *args, **kwargs):
8988
session,
9089
self.on_200,
9190
self.on_error,
92-
lro_options={"final-state-via": "azure-async-operation"},
91+
lro_options={"final-state-via": "location"},
9392
path_format_arguments=self.url_parameters,
9493
)
9594
if session.http_response.status_code in [204]:
@@ -98,7 +97,7 @@ def __call__(self, *args, **kwargs):
9897
session,
9998
self.on_204,
10099
self.on_error,
101-
lro_options={"final-state-via": "azure-async-operation"},
100+
lro_options={"final-state-via": "location"},
102101
path_format_arguments=self.url_parameters,
103102
)
104103

@@ -141,7 +140,7 @@ def url_parameters(self):
141140
def query_parameters(self):
142141
parameters = {
143142
**self.serialize_query_param(
144-
"api-version", "2022-11-01",
143+
"api-version", "2024-11-01",
145144
required=True,
146145
),
147146
}

src/azure-cli/azure/cli/command_modules/vm/aaz/latest/restore_point/collection/_list.py

Lines changed: 195 additions & 13 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)