@@ -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 }
0 commit comments