|
13 | 13 |
|
14 | 14 | @register_command( |
15 | 15 | "neon postgres organization delete", |
16 | | - is_preview=True, |
17 | 16 | confirmation="Are you sure you want to perform this operation?", |
18 | 17 | ) |
19 | 18 | class Delete(AAZCommand): |
20 | 19 | """Delete an existing Neon organization within Azure. |
21 | 20 |
|
22 | | - :example: Organizations_Delete |
| 21 | + :example: Delete Neon Postgres Organization |
23 | 22 | az neon postgres organization delete --subscription 12345678-1234-1234-1234-123456789abc --resource-group demoResourceGroup --name demoNeonResource |
24 | 23 | """ |
25 | 24 |
|
26 | 25 | _aaz_info = { |
27 | | - "version": "2024-08-01-preview", |
| 26 | + "version": "2025-03-01", |
28 | 27 | "resources": [ |
29 | | - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/neon.postgres/organizations/{}", "2024-08-01-preview"], |
| 28 | + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/neon.postgres/organizations/{}", "2025-03-01"], |
30 | 29 | ] |
31 | 30 | } |
32 | 31 |
|
@@ -59,7 +58,7 @@ def _build_arguments_schema(cls, *args, **kwargs): |
59 | 58 | ), |
60 | 59 | ) |
61 | 60 | _args_schema.resource_group = AAZResourceGroupNameArg( |
62 | | - help="Name of the resource group", |
| 61 | + help="Name of the Azure resource group.", |
63 | 62 | required=True, |
64 | 63 | ) |
65 | 64 | return cls._args_schema |
@@ -150,7 +149,7 @@ def url_parameters(self): |
150 | 149 | def query_parameters(self): |
151 | 150 | parameters = { |
152 | 151 | **self.serialize_query_param( |
153 | | - "api-version", "2024-08-01-preview", |
| 152 | + "api-version", "2025-03-01", |
154 | 153 | required=True, |
155 | 154 | ), |
156 | 155 | } |
|
0 commit comments