Skip to content

Commit 2ebf49e

Browse files
authored
[storage-discovery] 09-01 stable cli extension (#9230)
mark operations stable update setup.py and HISTORY.rst remove azext.isPreview from azext_metadata.json
1 parent e95204c commit 2ebf49e

File tree

15 files changed

+138
-136
lines changed

15 files changed

+138
-136
lines changed

src/storage-discovery/HISTORY.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
Release History
44
===============
55

6+
1.0.0
7+
++++++
8+
* Stable version release upon api version 2025-09-01.
9+
610
1.0.0b1
711
++++++
812
* Initial release.

src/storage-discovery/azext_storage_discovery/aaz/latest/storage_discovery/__cmd_group.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
@register_command_group(
1515
"storage-discovery",
16-
is_preview=True,
1716
)
1817
class __CMDGroup(AAZCommandGroup):
1918
"""Manage Storage Discovery

src/storage-discovery/azext_storage_discovery/aaz/latest/storage_discovery/workspace/__cmd_group.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
@register_command_group(
1515
"storage-discovery workspace",
16-
is_preview=True,
1716
)
1817
class __CMDGroup(AAZCommandGroup):
1918
"""Manage Storage Discovery Workspace

src/storage-discovery/azext_storage_discovery/aaz/latest/storage_discovery/workspace/_create.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
@register_command(
1515
"storage-discovery workspace create",
16-
is_preview=True,
1716
)
1817
class Create(AAZCommand):
1918
"""Create a StorageDiscoveryWorkspace
@@ -24,9 +23,9 @@ class Create(AAZCommand):
2423
"""
2524

2625
_aaz_info = {
27-
"version": "2025-06-01-preview",
26+
"version": "2025-09-01",
2827
"resources": [
29-
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.storagediscovery/storagediscoveryworkspaces/{}", "2025-06-01-preview"],
28+
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.storagediscovery/storagediscoveryworkspaces/{}", "2025-09-01"],
3029
]
3130
}
3231

@@ -214,7 +213,7 @@ def url_parameters(self):
214213
def query_parameters(self):
215214
parameters = {
216215
**self.serialize_query_param(
217-
"api-version", "2025-06-01-preview",
216+
"api-version", "2025-09-01",
218217
required=True,
219218
),
220219
}

src/storage-discovery/azext_storage_discovery/aaz/latest/storage_discovery/workspace/_delete.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
@register_command(
1515
"storage-discovery workspace delete",
16-
is_preview=True,
1716
confirmation="Are you sure you want to perform this operation?",
1817
)
1918
class Delete(AAZCommand):
@@ -24,9 +23,9 @@ class Delete(AAZCommand):
2423
"""
2524

2625
_aaz_info = {
27-
"version": "2025-06-01-preview",
26+
"version": "2025-09-01",
2827
"resources": [
29-
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.storagediscovery/storagediscoveryworkspaces/{}", "2025-06-01-preview"],
28+
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.storagediscovery/storagediscoveryworkspaces/{}", "2025-09-01"],
3029
]
3130
}
3231

@@ -125,7 +124,7 @@ def url_parameters(self):
125124
def query_parameters(self):
126125
parameters = {
127126
**self.serialize_query_param(
128-
"api-version", "2025-06-01-preview",
127+
"api-version", "2025-09-01",
129128
required=True,
130129
),
131130
}

src/storage-discovery/azext_storage_discovery/aaz/latest/storage_discovery/workspace/_list.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
@register_command(
1515
"storage-discovery workspace list",
16-
is_preview=True,
1716
)
1817
class List(AAZCommand):
1918
"""List StorageDiscoveryWorkspace resources by subscription ID
@@ -24,10 +23,10 @@ class List(AAZCommand):
2423
"""
2524

2625
_aaz_info = {
27-
"version": "2025-06-01-preview",
26+
"version": "2025-09-01",
2827
"resources": [
29-
["mgmt-plane", "/subscriptions/{}/providers/microsoft.storagediscovery/storagediscoveryworkspaces", "2025-06-01-preview"],
30-
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.storagediscovery/storagediscoveryworkspaces", "2025-06-01-preview"],
28+
["mgmt-plane", "/subscriptions/{}/providers/microsoft.storagediscovery/storagediscoveryworkspaces", "2025-09-01"],
29+
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.storagediscovery/storagediscoveryworkspaces", "2025-09-01"],
3130
]
3231
}
3332

@@ -114,7 +113,7 @@ def url_parameters(self):
114113
def query_parameters(self):
115114
parameters = {
116115
**self.serialize_query_param(
117-
"api-version", "2025-06-01-preview",
116+
"api-version", "2025-09-01",
118117
required=True,
119118
),
120119
}
@@ -290,7 +289,7 @@ def url_parameters(self):
290289
def query_parameters(self):
291290
parameters = {
292291
**self.serialize_query_param(
293-
"api-version", "2025-06-01-preview",
292+
"api-version", "2025-09-01",
294293
required=True,
295294
),
296295
}

src/storage-discovery/azext_storage_discovery/aaz/latest/storage_discovery/workspace/_show.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
@register_command(
1515
"storage-discovery workspace show",
16-
is_preview=True,
1716
)
1817
class Show(AAZCommand):
1918
"""Get a StorageDiscoveryWorkspace
@@ -23,9 +22,9 @@ class Show(AAZCommand):
2322
"""
2423

2524
_aaz_info = {
26-
"version": "2025-06-01-preview",
25+
"version": "2025-09-01",
2726
"resources": [
28-
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.storagediscovery/storagediscoveryworkspaces/{}", "2025-06-01-preview"],
27+
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.storagediscovery/storagediscoveryworkspaces/{}", "2025-09-01"],
2928
]
3029
}
3130

@@ -126,7 +125,7 @@ def url_parameters(self):
126125
def query_parameters(self):
127126
parameters = {
128127
**self.serialize_query_param(
129-
"api-version", "2025-06-01-preview",
128+
"api-version", "2025-09-01",
130129
required=True,
131130
),
132131
}

src/storage-discovery/azext_storage_discovery/aaz/latest/storage_discovery/workspace/_update.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
@register_command(
1515
"storage-discovery workspace update",
16-
is_preview=True,
1716
)
1817
class Update(AAZCommand):
1918
"""Update a StorageDiscoveryWorkspace
@@ -23,9 +22,9 @@ class Update(AAZCommand):
2322
"""
2423

2524
_aaz_info = {
26-
"version": "2025-06-01-preview",
25+
"version": "2025-09-01",
2726
"resources": [
28-
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.storagediscovery/storagediscoveryworkspaces/{}", "2025-06-01-preview"],
27+
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.storagediscovery/storagediscoveryworkspaces/{}", "2025-09-01"],
2928
]
3029
}
3130

@@ -234,7 +233,7 @@ def url_parameters(self):
234233
def query_parameters(self):
235234
parameters = {
236235
**self.serialize_query_param(
237-
"api-version", "2025-06-01-preview",
236+
"api-version", "2025-09-01",
238237
required=True,
239238
),
240239
}
@@ -317,7 +316,7 @@ def url_parameters(self):
317316
def query_parameters(self):
318317
parameters = {
319318
**self.serialize_query_param(
320-
"api-version", "2025-06-01-preview",
319+
"api-version", "2025-09-01",
321320
required=True,
322321
),
323322
}
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
{
2-
"azext.isPreview": true,
32
"azext.minCliCoreVersion": "2.75.0"
43
}

src/storage-discovery/azext_storage_discovery/tests/latest/recordings/test_storage_discovery_workspace_create.yaml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ interactions:
2020
ParameterSetName:
2121
- -g -n --location --description --sku --workspace-roots --scopes
2222
User-Agent:
23-
- AZURECLI/2.75.0 azsdk-python-core/1.35.0 Python/3.12.11 (Linux-6.8.0-1030-azure-x86_64-with-glibc2.36)
23+
- AZURECLI/2.77.0 azsdk-python-core/1.35.0 Python/3.12.11 (Linux-6.8.0-1030-azure-x86_64-with-glibc2.41)
2424
method: PUT
25-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/clitest000002?api-version=2025-06-01-preview
25+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/clitest000002?api-version=2025-09-01
2626
response:
2727
body:
28-
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/clitest000002","name":"clitest000002","type":"microsoft.storagediscovery/storagediscoveryworkspaces","location":"francecentral","tags":{"team":"Discovery"},"systemData":{"createdBy":"[email protected]","createdByType":"User","createdAt":"2025-08-04T23:29:28.1808107Z","lastModifiedBy":"[email protected]","lastModifiedByType":"User","lastModifiedAt":"2025-08-04T23:29:28.1808107Z"},"properties":{"sku":"Standard","workspaceRoots":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001"],"description":"123","scopes":[{"displayName":"test1","resourceTypes":["Microsoft.Storage/storageAccounts"],"tagKeysOnly":["e2etest1"],"tags":{"tag1":"value1","tag2":"value2"}}],"provisioningState":"Succeeded"}}'
28+
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/clitest000002","name":"clitest000002","type":"microsoft.storagediscovery/storagediscoveryworkspaces","location":"francecentral","tags":{"team":"Discovery"},"systemData":{"createdBy":"[email protected]","createdByType":"User","createdAt":"2025-09-24T21:50:56.6684443Z","lastModifiedBy":"[email protected]","lastModifiedByType":"User","lastModifiedAt":"2025-09-24T21:50:56.6684443Z"},"properties":{"sku":"Standard","workspaceRoots":["/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001"],"description":"123","scopes":[{"displayName":"test1","resourceTypes":["Microsoft.Storage/storageAccounts"],"tagKeysOnly":["e2etest1"],"tags":{"tag1":"value1","tag2":"value2"}}],"provisioningState":"Succeeded"}}'
2929
headers:
3030
cache-control:
3131
- no-cache
@@ -34,13 +34,13 @@ interactions:
3434
content-type:
3535
- application/json; charset=utf-8
3636
date:
37-
- Mon, 04 Aug 2025 23:29:30 GMT
37+
- Wed, 24 Sep 2025 21:50:57 GMT
3838
etag:
39-
- '"090059b8-0000-0e00-0000-689142590000"'
39+
- '"2b013a2a-0000-0e00-0000-68d467c10000"'
4040
expires:
4141
- '-1'
4242
mise-correlation-id:
43-
- fac33fd9-8aa1-4496-89b0-6af67af1888d
43+
- d3158714-dcdd-4d4a-a7da-491a4b361082
4444
pragma:
4545
- no-cache
4646
strict-transport-security:
@@ -52,15 +52,15 @@ interactions:
5252
x-content-type-options:
5353
- nosniff
5454
x-ms-operation-identifier:
55-
- tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=2968a26f-a796-4124-8684-894f8a239db2/westus2/4e992be2-4596-4c39-95e1-97adf9548c55
55+
- tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=2968a26f-a796-4124-8684-894f8a239db2/francecentral/84279b72-ef86-4777-8e9b-d4c031b015e0
5656
x-ms-providerhub-traffic:
5757
- 'True'
5858
x-ms-ratelimit-remaining-subscription-global-writes:
59-
- '12000'
59+
- '11999'
6060
x-ms-ratelimit-remaining-subscription-writes:
61-
- '800'
61+
- '799'
6262
x-msedge-ref:
63-
- 'Ref A: AC03343244A64C4FB3B2828575B28EB1 Ref B: MWH011020806034 Ref C: 2025-08-04T23:29:23Z'
63+
- 'Ref A: A05093C426914E2680C3613A5EB8972D Ref B: MWH011020806040 Ref C: 2025-09-24T21:50:54Z'
6464
x-powered-by:
6565
- ASP.NET
6666
status:
@@ -82,9 +82,9 @@ interactions:
8282
ParameterSetName:
8383
- -g -n -y
8484
User-Agent:
85-
- AZURECLI/2.75.0 azsdk-python-core/1.35.0 Python/3.12.11 (Linux-6.8.0-1030-azure-x86_64-with-glibc2.36)
85+
- AZURECLI/2.77.0 azsdk-python-core/1.35.0 Python/3.12.11 (Linux-6.8.0-1030-azure-x86_64-with-glibc2.41)
8686
method: DELETE
87-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/clitest000002?api-version=2025-06-01-preview
87+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/clitest000002?api-version=2025-09-01
8888
response:
8989
body:
9090
string: ''
@@ -94,11 +94,11 @@ interactions:
9494
content-length:
9595
- '0'
9696
date:
97-
- Mon, 04 Aug 2025 23:29:32 GMT
97+
- Wed, 24 Sep 2025 21:51:01 GMT
9898
expires:
9999
- '-1'
100100
mise-correlation-id:
101-
- acdfb41a-4273-454b-b469-7663f8488611
101+
- 5c724773-1287-4a7d-8789-21f3870737df
102102
pragma:
103103
- no-cache
104104
strict-transport-security:
@@ -108,15 +108,15 @@ interactions:
108108
x-content-type-options:
109109
- nosniff
110110
x-ms-operation-identifier:
111-
- tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=2968a26f-a796-4124-8684-894f8a239db2/francecentral/eb34bd5a-f682-480d-826c-a928dd78a13c
111+
- tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=2968a26f-a796-4124-8684-894f8a239db2/southcentralus/b5e335d0-9485-482f-8720-3de7c3cd6a6a
112112
x-ms-providerhub-traffic:
113113
- 'True'
114114
x-ms-ratelimit-remaining-subscription-deletes:
115115
- '799'
116116
x-ms-ratelimit-remaining-subscription-global-deletes:
117117
- '11999'
118118
x-msedge-ref:
119-
- 'Ref A: 310594CEBFF04E7B9C181863183270B8 Ref B: MWH011020806054 Ref C: 2025-08-04T23:29:30Z'
119+
- 'Ref A: 562275A81C9C4F4E95CD5380FA83E154 Ref B: CO6AA3150217011 Ref C: 2025-09-24T21:50:57Z'
120120
x-powered-by:
121121
- ASP.NET
122122
status:

0 commit comments

Comments
 (0)