Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-azure-mgmt-storagediscovery
for openSUSE:Factory checked in at 2026-03-11 20:57:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-azure-mgmt-storagediscovery (Old)
and
/work/SRC/openSUSE:Factory/.python-azure-mgmt-storagediscovery.new.8177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-azure-mgmt-storagediscovery"
Wed Mar 11 20:57:36 2026 rev:3 rq:1338317 version:1.0.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-azure-mgmt-storagediscovery/python-azure-mgmt-storagediscovery.changes
2025-10-06 18:09:12.950011390 +0200
+++
/work/SRC/openSUSE:Factory/.python-azure-mgmt-storagediscovery.new.8177/python-azure-mgmt-storagediscovery.changes
2026-03-11 20:59:53.373226450 +0100
@@ -1,0 +2,9 @@
+Thu Oct 9 11:30:22 UTC 2025 - John Paul Adrian Glaubitz
<[email protected]>
+
+- New upstream release
+ + Version 1.0.1
+ + For detailed information about changes see the
+ CHANGELOG.md file provided with this package
+- Drop workaround to remove samples and tests from source
+
+-------------------------------------------------------------------
Old:
----
azure_mgmt_storagediscovery-1.0.0.tar.gz
New:
----
azure_mgmt_storagediscovery-1.0.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-azure-mgmt-storagediscovery.spec ++++++
--- /var/tmp/diff_new_pack.94AyWm/_old 2026-03-11 20:59:53.893247866 +0100
+++ /var/tmp/diff_new_pack.94AyWm/_new 2026-03-11 20:59:53.893247866 +0100
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-azure-mgmt-storagediscovery
-Version: 1.0.0
+Version: 1.0.1
Release: 0
Summary: Microsoft Azure Storagediscovery Management Client Library for
Python
License: MIT
@@ -50,8 +50,6 @@
%prep
%setup -q -n azure_mgmt_storagediscovery-%{version}
-# see: https://github.com/Azure/azure-sdk-for-python/issues/43082
-rm -rf generated_samples generated_tests
%build
%pyproject_wheel
++++++ azure_mgmt_storagediscovery-1.0.0.tar.gz ->
azure_mgmt_storagediscovery-1.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/azure_mgmt_storagediscovery-1.0.0/CHANGELOG.md
new/azure_mgmt_storagediscovery-1.0.1/CHANGELOG.md
--- old/azure_mgmt_storagediscovery-1.0.0/CHANGELOG.md 2025-10-02
01:38:10.000000000 +0200
+++ new/azure_mgmt_storagediscovery-1.0.1/CHANGELOG.md 2025-10-09
10:00:04.000000000 +0200
@@ -1,5 +1,11 @@
# Release History
+## 1.0.1 (2025-10-09)
+
+### Bugs Fixed
+
+- Exclude `generated_samples` and `generated_tests` from wheel
+
## 1.0.0 (2025-09-29)
### Features Added
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/azure_mgmt_storagediscovery-1.0.0/PKG-INFO
new/azure_mgmt_storagediscovery-1.0.1/PKG-INFO
--- old/azure_mgmt_storagediscovery-1.0.0/PKG-INFO 2025-10-02
01:38:49.407703000 +0200
+++ new/azure_mgmt_storagediscovery-1.0.1/PKG-INFO 2025-10-09
10:01:08.223188000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.4
Name: azure-mgmt-storagediscovery
-Version: 1.0.0
+Version: 1.0.1
Summary: Microsoft Azure Storagediscovery Management Client Library for Python
Author-email: Microsoft Corporation <[email protected]>
License-Expression: MIT
@@ -87,6 +87,12 @@
# Release History
+## 1.0.1 (2025-10-09)
+
+### Bugs Fixed
+
+- Exclude `generated_samples` and `generated_tests` from wheel
+
## 1.0.0 (2025-09-29)
### Features Added
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure_mgmt_storagediscovery-1.0.0/azure/mgmt/storagediscovery/_version.py
new/azure_mgmt_storagediscovery-1.0.1/azure/mgmt/storagediscovery/_version.py
---
old/azure_mgmt_storagediscovery-1.0.0/azure/mgmt/storagediscovery/_version.py
2025-10-02 01:38:10.000000000 +0200
+++
new/azure_mgmt_storagediscovery-1.0.1/azure/mgmt/storagediscovery/_version.py
2025-10-09 10:00:04.000000000 +0200
@@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is
regenerated.
# --------------------------------------------------------------------------
-VERSION = "1.0.0"
+VERSION = "1.0.1"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure_mgmt_storagediscovery-1.0.0/azure_mgmt_storagediscovery.egg-info/PKG-INFO
new/azure_mgmt_storagediscovery-1.0.1/azure_mgmt_storagediscovery.egg-info/PKG-INFO
---
old/azure_mgmt_storagediscovery-1.0.0/azure_mgmt_storagediscovery.egg-info/PKG-INFO
2025-10-02 01:38:49.000000000 +0200
+++
new/azure_mgmt_storagediscovery-1.0.1/azure_mgmt_storagediscovery.egg-info/PKG-INFO
2025-10-09 10:01:08.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.4
Name: azure-mgmt-storagediscovery
-Version: 1.0.0
+Version: 1.0.1
Summary: Microsoft Azure Storagediscovery Management Client Library for Python
Author-email: Microsoft Corporation <[email protected]>
License-Expression: MIT
@@ -87,6 +87,12 @@
# Release History
+## 1.0.1 (2025-10-09)
+
+### Bugs Fixed
+
+- Exclude `generated_samples` and `generated_tests` from wheel
+
## 1.0.0 (2025-09-29)
### Features Added
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure_mgmt_storagediscovery-1.0.0/azure_mgmt_storagediscovery.egg-info/SOURCES.txt
new/azure_mgmt_storagediscovery-1.0.1/azure_mgmt_storagediscovery.egg-info/SOURCES.txt
---
old/azure_mgmt_storagediscovery-1.0.0/azure_mgmt_storagediscovery.egg-info/SOURCES.txt
2025-10-02 01:38:49.000000000 +0200
+++
new/azure_mgmt_storagediscovery-1.0.1/azure_mgmt_storagediscovery.egg-info/SOURCES.txt
2025-10-09 10:01:08.000000000 +0200
@@ -33,18 +33,6 @@
azure_mgmt_storagediscovery.egg-info/dependency_links.txt
azure_mgmt_storagediscovery.egg-info/requires.txt
azure_mgmt_storagediscovery.egg-info/top_level.txt
-generated_samples/operation_list.py
-generated_samples/storage_discovery_workspaces_create_or_update.py
-generated_samples/storage_discovery_workspaces_delete.py
-generated_samples/storage_discovery_workspaces_get.py
-generated_samples/storage_discovery_workspaces_list_by_resource_group.py
-generated_samples/storage_discovery_workspaces_list_by_subscription.py
-generated_samples/storage_discovery_workspaces_update.py
-generated_tests/conftest.py
-generated_tests/test_storage_discovery_mgmt_operations.py
-generated_tests/test_storage_discovery_mgmt_operations_async.py
-generated_tests/test_storage_discovery_mgmt_storage_discovery_workspaces_operations.py
-generated_tests/test_storage_discovery_mgmt_storage_discovery_workspaces_operations_async.py
tests/conftest.py
tests/test_storage_discovery_mgmt_operations_async_test.py
tests/test_storage_discovery_mgmt_operations_test.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure_mgmt_storagediscovery-1.0.0/azure_mgmt_storagediscovery.egg-info/top_level.txt
new/azure_mgmt_storagediscovery-1.0.1/azure_mgmt_storagediscovery.egg-info/top_level.txt
---
old/azure_mgmt_storagediscovery-1.0.0/azure_mgmt_storagediscovery.egg-info/top_level.txt
2025-10-02 01:38:49.000000000 +0200
+++
new/azure_mgmt_storagediscovery-1.0.1/azure_mgmt_storagediscovery.egg-info/top_level.txt
2025-10-09 10:01:08.000000000 +0200
@@ -1,3 +1 @@
azure
-generated_samples
-generated_tests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure_mgmt_storagediscovery-1.0.0/generated_samples/operation_list.py
new/azure_mgmt_storagediscovery-1.0.1/generated_samples/operation_list.py
--- old/azure_mgmt_storagediscovery-1.0.0/generated_samples/operation_list.py
2025-10-02 01:38:10.000000000 +0200
+++ new/azure_mgmt_storagediscovery-1.0.1/generated_samples/operation_list.py
1970-01-01 01:00:00.000000000 +0100
@@ -1,40 +0,0 @@
-# coding=utf-8
-# --------------------------------------------------------------------------
-# Copyright (c) Microsoft Corporation. All rights reserved.
-# Licensed under the MIT License. See License.txt in the project root for
license information.
-# Code generated by Microsoft (R) Python Code Generator.
-# Changes may cause incorrect behavior and will be lost if the code is
regenerated.
-# --------------------------------------------------------------------------
-
-from azure.identity import DefaultAzureCredential
-
-from azure.mgmt.storagediscovery import StorageDiscoveryMgmtClient
-
-"""
-# PREREQUISITES
- pip install azure-identity
- pip install azure-mgmt-storagediscovery
-# USAGE
- python operation_list.py
-
- Before run the sample, please set the values of the client ID, tenant ID
and client secret
- of the AAD application as environment variables: AZURE_CLIENT_ID,
AZURE_TENANT_ID,
- AZURE_CLIENT_SECRET. For more info about how to get the value, please see:
-
https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal
-"""
-
-
-def main():
- client = StorageDiscoveryMgmtClient(
- credential=DefaultAzureCredential(),
- subscription_id="SUBSCRIPTION_ID",
- )
-
- response = client.operations.list()
- for item in response:
- print(item)
-
-
-# x-ms-original-file: 2025-09-01/Operation_List.json
-if __name__ == "__main__":
- main()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure_mgmt_storagediscovery-1.0.0/generated_samples/storage_discovery_workspaces_create_or_update.py
new/azure_mgmt_storagediscovery-1.0.1/generated_samples/storage_discovery_workspaces_create_or_update.py
---
old/azure_mgmt_storagediscovery-1.0.0/generated_samples/storage_discovery_workspaces_create_or_update.py
2025-10-02 01:38:10.000000000 +0200
+++
new/azure_mgmt_storagediscovery-1.0.1/generated_samples/storage_discovery_workspaces_create_or_update.py
1970-01-01 01:00:00.000000000 +0100
@@ -1,69 +0,0 @@
-# pylint: disable=line-too-long,useless-suppression
-# coding=utf-8
-# --------------------------------------------------------------------------
-# Copyright (c) Microsoft Corporation. All rights reserved.
-# Licensed under the MIT License. See License.txt in the project root for
license information.
-# Code generated by Microsoft (R) Python Code Generator.
-# Changes may cause incorrect behavior and will be lost if the code is
regenerated.
-# --------------------------------------------------------------------------
-
-from azure.identity import DefaultAzureCredential
-
-from azure.mgmt.storagediscovery import StorageDiscoveryMgmtClient
-
-"""
-# PREREQUISITES
- pip install azure-identity
- pip install azure-mgmt-storagediscovery
-# USAGE
- python storage_discovery_workspaces_create_or_update.py
-
- Before run the sample, please set the values of the client ID, tenant ID
and client secret
- of the AAD application as environment variables: AZURE_CLIENT_ID,
AZURE_TENANT_ID,
- AZURE_CLIENT_SECRET. For more info about how to get the value, please see:
-
https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal
-"""
-
-
-def main():
- client = StorageDiscoveryMgmtClient(
- credential=DefaultAzureCredential(),
- subscription_id="SUBSCRIPTION_ID",
- )
-
- response = client.storage_discovery_workspaces.create_or_update(
- resource_group_name="sample-rg",
- storage_discovery_workspace_name="Sample-Storage-Workspace",
- resource={
- "location": "westeurope",
- "properties": {
- "description": "Sample Storage Discovery Workspace",
- "scopes": [
- {
- "displayName": "Sample-Collection",
- "resourceTypes": [
-
"/subscriptions/b79cb3ba-745e-5d9a-8903-4a02327a7e09/resourceGroups/sample-rg/providers/Microsoft.Storage/storageAccounts/sample-storageAccount"
- ],
- "tagKeysOnly": ["filterTag1", "filterTag2"],
- "tags": {"filterTag3": "value3", "filterTag4":
"value4"},
- },
- {
- "displayName": "Sample-Collection-2",
- "resourceTypes": [
-
"/subscriptions/b79cb3ba-745e-5d9a-8903-4a02327a7e09/resourceGroups/sample-rg/providers/Microsoft.Storage/storageAccounts/sample-storageAccount"
- ],
- "tagKeysOnly": ["filterTag5"],
- "tags": {"filterTag6": "value6"},
- },
- ],
- "workspaceRoots":
["/subscriptions/b79cb3ba-745e-5d9a-8903-4a02327a7e09"],
- },
- "tags": {"tag1": "value1", "tag2": "value2"},
- },
- )
- print(response)
-
-
-# x-ms-original-file: 2025-09-01/StorageDiscoveryWorkspaces_CreateOrUpdate.json
-if __name__ == "__main__":
- main()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure_mgmt_storagediscovery-1.0.0/generated_samples/storage_discovery_workspaces_delete.py
new/azure_mgmt_storagediscovery-1.0.1/generated_samples/storage_discovery_workspaces_delete.py
---
old/azure_mgmt_storagediscovery-1.0.0/generated_samples/storage_discovery_workspaces_delete.py
2025-10-02 01:38:10.000000000 +0200
+++
new/azure_mgmt_storagediscovery-1.0.1/generated_samples/storage_discovery_workspaces_delete.py
1970-01-01 01:00:00.000000000 +0100
@@ -1,41 +0,0 @@
-# coding=utf-8
-# --------------------------------------------------------------------------
-# Copyright (c) Microsoft Corporation. All rights reserved.
-# Licensed under the MIT License. See License.txt in the project root for
license information.
-# Code generated by Microsoft (R) Python Code Generator.
-# Changes may cause incorrect behavior and will be lost if the code is
regenerated.
-# --------------------------------------------------------------------------
-
-from azure.identity import DefaultAzureCredential
-
-from azure.mgmt.storagediscovery import StorageDiscoveryMgmtClient
-
-"""
-# PREREQUISITES
- pip install azure-identity
- pip install azure-mgmt-storagediscovery
-# USAGE
- python storage_discovery_workspaces_delete.py
-
- Before run the sample, please set the values of the client ID, tenant ID
and client secret
- of the AAD application as environment variables: AZURE_CLIENT_ID,
AZURE_TENANT_ID,
- AZURE_CLIENT_SECRET. For more info about how to get the value, please see:
-
https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal
-"""
-
-
-def main():
- client = StorageDiscoveryMgmtClient(
- credential=DefaultAzureCredential(),
- subscription_id="SUBSCRIPTION_ID",
- )
-
- client.storage_discovery_workspaces.delete(
- resource_group_name="sample-rg",
- storage_discovery_workspace_name="sampleworkspace",
- )
-
-
-# x-ms-original-file: 2025-09-01/StorageDiscoveryWorkspaces_Delete.json
-if __name__ == "__main__":
- main()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure_mgmt_storagediscovery-1.0.0/generated_samples/storage_discovery_workspaces_get.py
new/azure_mgmt_storagediscovery-1.0.1/generated_samples/storage_discovery_workspaces_get.py
---
old/azure_mgmt_storagediscovery-1.0.0/generated_samples/storage_discovery_workspaces_get.py
2025-10-02 01:38:10.000000000 +0200
+++
new/azure_mgmt_storagediscovery-1.0.1/generated_samples/storage_discovery_workspaces_get.py
1970-01-01 01:00:00.000000000 +0100
@@ -1,42 +0,0 @@
-# coding=utf-8
-# --------------------------------------------------------------------------
-# Copyright (c) Microsoft Corporation. All rights reserved.
-# Licensed under the MIT License. See License.txt in the project root for
license information.
-# Code generated by Microsoft (R) Python Code Generator.
-# Changes may cause incorrect behavior and will be lost if the code is
regenerated.
-# --------------------------------------------------------------------------
-
-from azure.identity import DefaultAzureCredential
-
-from azure.mgmt.storagediscovery import StorageDiscoveryMgmtClient
-
-"""
-# PREREQUISITES
- pip install azure-identity
- pip install azure-mgmt-storagediscovery
-# USAGE
- python storage_discovery_workspaces_get.py
-
- Before run the sample, please set the values of the client ID, tenant ID
and client secret
- of the AAD application as environment variables: AZURE_CLIENT_ID,
AZURE_TENANT_ID,
- AZURE_CLIENT_SECRET. For more info about how to get the value, please see:
-
https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal
-"""
-
-
-def main():
- client = StorageDiscoveryMgmtClient(
- credential=DefaultAzureCredential(),
- subscription_id="SUBSCRIPTION_ID",
- )
-
- response = client.storage_discovery_workspaces.get(
- resource_group_name="sample-rg",
- storage_discovery_workspace_name="Sample-Storage-Workspace",
- )
- print(response)
-
-
-# x-ms-original-file: 2025-09-01/StorageDiscoveryWorkspaces_Get.json
-if __name__ == "__main__":
- main()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure_mgmt_storagediscovery-1.0.0/generated_samples/storage_discovery_workspaces_list_by_resource_group.py
new/azure_mgmt_storagediscovery-1.0.1/generated_samples/storage_discovery_workspaces_list_by_resource_group.py
---
old/azure_mgmt_storagediscovery-1.0.0/generated_samples/storage_discovery_workspaces_list_by_resource_group.py
2025-10-02 01:38:10.000000000 +0200
+++
new/azure_mgmt_storagediscovery-1.0.1/generated_samples/storage_discovery_workspaces_list_by_resource_group.py
1970-01-01 01:00:00.000000000 +0100
@@ -1,42 +0,0 @@
-# coding=utf-8
-# --------------------------------------------------------------------------
-# Copyright (c) Microsoft Corporation. All rights reserved.
-# Licensed under the MIT License. See License.txt in the project root for
license information.
-# Code generated by Microsoft (R) Python Code Generator.
-# Changes may cause incorrect behavior and will be lost if the code is
regenerated.
-# --------------------------------------------------------------------------
-
-from azure.identity import DefaultAzureCredential
-
-from azure.mgmt.storagediscovery import StorageDiscoveryMgmtClient
-
-"""
-# PREREQUISITES
- pip install azure-identity
- pip install azure-mgmt-storagediscovery
-# USAGE
- python storage_discovery_workspaces_list_by_resource_group.py
-
- Before run the sample, please set the values of the client ID, tenant ID
and client secret
- of the AAD application as environment variables: AZURE_CLIENT_ID,
AZURE_TENANT_ID,
- AZURE_CLIENT_SECRET. For more info about how to get the value, please see:
-
https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal
-"""
-
-
-def main():
- client = StorageDiscoveryMgmtClient(
- credential=DefaultAzureCredential(),
- subscription_id="SUBSCRIPTION_ID",
- )
-
- response = client.storage_discovery_workspaces.list_by_resource_group(
- resource_group_name="sample-rg",
- )
- for item in response:
- print(item)
-
-
-# x-ms-original-file:
2025-09-01/StorageDiscoveryWorkspaces_ListByResourceGroup.json
-if __name__ == "__main__":
- main()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure_mgmt_storagediscovery-1.0.0/generated_samples/storage_discovery_workspaces_list_by_subscription.py
new/azure_mgmt_storagediscovery-1.0.1/generated_samples/storage_discovery_workspaces_list_by_subscription.py
---
old/azure_mgmt_storagediscovery-1.0.0/generated_samples/storage_discovery_workspaces_list_by_subscription.py
2025-10-02 01:38:10.000000000 +0200
+++
new/azure_mgmt_storagediscovery-1.0.1/generated_samples/storage_discovery_workspaces_list_by_subscription.py
1970-01-01 01:00:00.000000000 +0100
@@ -1,40 +0,0 @@
-# coding=utf-8
-# --------------------------------------------------------------------------
-# Copyright (c) Microsoft Corporation. All rights reserved.
-# Licensed under the MIT License. See License.txt in the project root for
license information.
-# Code generated by Microsoft (R) Python Code Generator.
-# Changes may cause incorrect behavior and will be lost if the code is
regenerated.
-# --------------------------------------------------------------------------
-
-from azure.identity import DefaultAzureCredential
-
-from azure.mgmt.storagediscovery import StorageDiscoveryMgmtClient
-
-"""
-# PREREQUISITES
- pip install azure-identity
- pip install azure-mgmt-storagediscovery
-# USAGE
- python storage_discovery_workspaces_list_by_subscription.py
-
- Before run the sample, please set the values of the client ID, tenant ID
and client secret
- of the AAD application as environment variables: AZURE_CLIENT_ID,
AZURE_TENANT_ID,
- AZURE_CLIENT_SECRET. For more info about how to get the value, please see:
-
https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal
-"""
-
-
-def main():
- client = StorageDiscoveryMgmtClient(
- credential=DefaultAzureCredential(),
- subscription_id="SUBSCRIPTION_ID",
- )
-
- response = client.storage_discovery_workspaces.list_by_subscription()
- for item in response:
- print(item)
-
-
-# x-ms-original-file:
2025-09-01/StorageDiscoveryWorkspaces_ListBySubscription.json
-if __name__ == "__main__":
- main()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure_mgmt_storagediscovery-1.0.0/generated_samples/storage_discovery_workspaces_update.py
new/azure_mgmt_storagediscovery-1.0.1/generated_samples/storage_discovery_workspaces_update.py
---
old/azure_mgmt_storagediscovery-1.0.0/generated_samples/storage_discovery_workspaces_update.py
2025-10-02 01:38:10.000000000 +0200
+++
new/azure_mgmt_storagediscovery-1.0.1/generated_samples/storage_discovery_workspaces_update.py
1970-01-01 01:00:00.000000000 +0100
@@ -1,60 +0,0 @@
-# pylint: disable=line-too-long,useless-suppression
-# coding=utf-8
-# --------------------------------------------------------------------------
-# Copyright (c) Microsoft Corporation. All rights reserved.
-# Licensed under the MIT License. See License.txt in the project root for
license information.
-# Code generated by Microsoft (R) Python Code Generator.
-# Changes may cause incorrect behavior and will be lost if the code is
regenerated.
-# --------------------------------------------------------------------------
-
-from azure.identity import DefaultAzureCredential
-
-from azure.mgmt.storagediscovery import StorageDiscoveryMgmtClient
-
-"""
-# PREREQUISITES
- pip install azure-identity
- pip install azure-mgmt-storagediscovery
-# USAGE
- python storage_discovery_workspaces_update.py
-
- Before run the sample, please set the values of the client ID, tenant ID
and client secret
- of the AAD application as environment variables: AZURE_CLIENT_ID,
AZURE_TENANT_ID,
- AZURE_CLIENT_SECRET. For more info about how to get the value, please see:
-
https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal
-"""
-
-
-def main():
- client = StorageDiscoveryMgmtClient(
- credential=DefaultAzureCredential(),
- subscription_id="SUBSCRIPTION_ID",
- )
-
- response = client.storage_discovery_workspaces.update(
- resource_group_name="sample-rg",
- storage_discovery_workspace_name="Sample-Storage-Workspace",
- properties={
- "properties": {
- "description": "Updated Sample Storage Discovery Workspace",
- "scopes": [
- {
- "displayName": "Updated-Sample-Collection",
- "resourceTypes": [
-
"/subscriptions/b79cb3ba-745e-5d9a-8903-4a02327a7e09/resourceGroups/sample-rg/providers/Microsoft.Storage/storageAccounts/updated-sample-storageAccount"
- ],
- "tagKeysOnly": ["updated-filtertag1",
"updated-filtertag2"],
- "tags": {"updated-filtertag3": "updated-value3",
"updated-filtertag4": "updated-value4"},
- }
- ],
- "sku": "Free",
- "workspaceRoots":
["/subscriptions/b79cb3ba-745e-5d9a-8903-4a02327a7e09"],
- }
- },
- )
- print(response)
-
-
-# x-ms-original-file: 2025-09-01/StorageDiscoveryWorkspaces_Update.json
-if __name__ == "__main__":
- main()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure_mgmt_storagediscovery-1.0.0/generated_tests/conftest.py
new/azure_mgmt_storagediscovery-1.0.1/generated_tests/conftest.py
--- old/azure_mgmt_storagediscovery-1.0.0/generated_tests/conftest.py
2025-10-02 01:38:10.000000000 +0200
+++ new/azure_mgmt_storagediscovery-1.0.1/generated_tests/conftest.py
1970-01-01 01:00:00.000000000 +0100
@@ -1,39 +0,0 @@
-# coding=utf-8
-# --------------------------------------------------------------------------
-# Copyright (c) Microsoft Corporation. All rights reserved.
-# Licensed under the MIT License. See License.txt in the project root for
license information.
-# Code generated by Microsoft (R) Python Code Generator.
-# Changes may cause incorrect behavior and will be lost if the code is
regenerated.
-# --------------------------------------------------------------------------
-import os
-import pytest
-from dotenv import load_dotenv
-from devtools_testutils import (
- test_proxy,
- add_general_regex_sanitizer,
- add_body_key_sanitizer,
- add_header_regex_sanitizer,
-)
-
-load_dotenv()
-
-
-# For security, please avoid record sensitive identity information in
recordings
[email protected](scope="session", autouse=True)
-def add_sanitizers(test_proxy):
- storagediscoverymgmt_subscription_id = os.environ.get(
- "AZURE_SUBSCRIPTION_ID", "00000000-0000-0000-0000-000000000000"
- )
- storagediscoverymgmt_tenant_id = os.environ.get("AZURE_TENANT_ID",
"00000000-0000-0000-0000-000000000000")
- storagediscoverymgmt_client_id = os.environ.get("AZURE_CLIENT_ID",
"00000000-0000-0000-0000-000000000000")
- storagediscoverymgmt_client_secret = os.environ.get("AZURE_CLIENT_SECRET",
"00000000-0000-0000-0000-000000000000")
- add_general_regex_sanitizer(
- regex=storagediscoverymgmt_subscription_id,
value="00000000-0000-0000-0000-000000000000"
- )
- add_general_regex_sanitizer(regex=storagediscoverymgmt_tenant_id,
value="00000000-0000-0000-0000-000000000000")
- add_general_regex_sanitizer(regex=storagediscoverymgmt_client_id,
value="00000000-0000-0000-0000-000000000000")
- add_general_regex_sanitizer(regex=storagediscoverymgmt_client_secret,
value="00000000-0000-0000-0000-000000000000")
-
- add_header_regex_sanitizer(key="Set-Cookie", value="[set-cookie;]")
- add_header_regex_sanitizer(key="Cookie", value="cookie;")
- add_body_key_sanitizer(json_path="$..access_token", value="access_token")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure_mgmt_storagediscovery-1.0.0/generated_tests/test_storage_discovery_mgmt_operations.py
new/azure_mgmt_storagediscovery-1.0.1/generated_tests/test_storage_discovery_mgmt_operations.py
---
old/azure_mgmt_storagediscovery-1.0.0/generated_tests/test_storage_discovery_mgmt_operations.py
2025-10-02 01:38:10.000000000 +0200
+++
new/azure_mgmt_storagediscovery-1.0.1/generated_tests/test_storage_discovery_mgmt_operations.py
1970-01-01 01:00:00.000000000 +0100
@@ -1,27 +0,0 @@
-# coding=utf-8
-# --------------------------------------------------------------------------
-# Copyright (c) Microsoft Corporation. All rights reserved.
-# Licensed under the MIT License. See License.txt in the project root for
license information.
-# Code generated by Microsoft (R) Python Code Generator.
-# Changes may cause incorrect behavior and will be lost if the code is
regenerated.
-# --------------------------------------------------------------------------
-import pytest
-from azure.mgmt.storagediscovery import StorageDiscoveryMgmtClient
-
-from devtools_testutils import AzureMgmtRecordedTestCase,
RandomNameResourceGroupPreparer, recorded_by_proxy
-
-AZURE_LOCATION = "eastus"
-
-
[email protected]("you may need to update the auto-generated test case before
run it")
-class TestStorageDiscoveryMgmtOperations(AzureMgmtRecordedTestCase):
- def setup_method(self, method):
- self.client = self.create_mgmt_client(StorageDiscoveryMgmtClient)
-
- @RandomNameResourceGroupPreparer(location=AZURE_LOCATION)
- @recorded_by_proxy
- def test_operations_list(self, resource_group):
- response = self.client.operations.list()
- result = [r for r in response]
- # please add some check logic here by yourself
- # ...
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure_mgmt_storagediscovery-1.0.0/generated_tests/test_storage_discovery_mgmt_operations_async.py
new/azure_mgmt_storagediscovery-1.0.1/generated_tests/test_storage_discovery_mgmt_operations_async.py
---
old/azure_mgmt_storagediscovery-1.0.0/generated_tests/test_storage_discovery_mgmt_operations_async.py
2025-10-02 01:38:10.000000000 +0200
+++
new/azure_mgmt_storagediscovery-1.0.1/generated_tests/test_storage_discovery_mgmt_operations_async.py
1970-01-01 01:00:00.000000000 +0100
@@ -1,28 +0,0 @@
-# coding=utf-8
-# --------------------------------------------------------------------------
-# Copyright (c) Microsoft Corporation. All rights reserved.
-# Licensed under the MIT License. See License.txt in the project root for
license information.
-# Code generated by Microsoft (R) Python Code Generator.
-# Changes may cause incorrect behavior and will be lost if the code is
regenerated.
-# --------------------------------------------------------------------------
-import pytest
-from azure.mgmt.storagediscovery.aio import StorageDiscoveryMgmtClient
-
-from devtools_testutils import AzureMgmtRecordedTestCase,
RandomNameResourceGroupPreparer
-from devtools_testutils.aio import recorded_by_proxy_async
-
-AZURE_LOCATION = "eastus"
-
-
[email protected]("you may need to update the auto-generated test case before
run it")
-class TestStorageDiscoveryMgmtOperationsAsync(AzureMgmtRecordedTestCase):
- def setup_method(self, method):
- self.client = self.create_mgmt_client(StorageDiscoveryMgmtClient,
is_async=True)
-
- @RandomNameResourceGroupPreparer(location=AZURE_LOCATION)
- @recorded_by_proxy_async
- async def test_operations_list(self, resource_group):
- response = self.client.operations.list()
- result = [r async for r in response]
- # please add some check logic here by yourself
- # ...
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure_mgmt_storagediscovery-1.0.0/generated_tests/test_storage_discovery_mgmt_storage_discovery_workspaces_operations.py
new/azure_mgmt_storagediscovery-1.0.1/generated_tests/test_storage_discovery_mgmt_storage_discovery_workspaces_operations.py
---
old/azure_mgmt_storagediscovery-1.0.0/generated_tests/test_storage_discovery_mgmt_storage_discovery_workspaces_operations.py
2025-10-02 01:38:10.000000000 +0200
+++
new/azure_mgmt_storagediscovery-1.0.1/generated_tests/test_storage_discovery_mgmt_storage_discovery_workspaces_operations.py
1970-01-01 01:00:00.000000000 +0100
@@ -1,116 +0,0 @@
-# coding=utf-8
-# --------------------------------------------------------------------------
-# Copyright (c) Microsoft Corporation. All rights reserved.
-# Licensed under the MIT License. See License.txt in the project root for
license information.
-# Code generated by Microsoft (R) Python Code Generator.
-# Changes may cause incorrect behavior and will be lost if the code is
regenerated.
-# --------------------------------------------------------------------------
-import pytest
-from azure.mgmt.storagediscovery import StorageDiscoveryMgmtClient
-
-from devtools_testutils import AzureMgmtRecordedTestCase,
RandomNameResourceGroupPreparer, recorded_by_proxy
-
-AZURE_LOCATION = "eastus"
-
-
[email protected]("you may need to update the auto-generated test case before
run it")
-class
TestStorageDiscoveryMgmtStorageDiscoveryWorkspacesOperations(AzureMgmtRecordedTestCase):
- def setup_method(self, method):
- self.client = self.create_mgmt_client(StorageDiscoveryMgmtClient)
-
- @RandomNameResourceGroupPreparer(location=AZURE_LOCATION)
- @recorded_by_proxy
- def test_storage_discovery_workspaces_get(self, resource_group):
- response = self.client.storage_discovery_workspaces.get(
- resource_group_name=resource_group.name,
- storage_discovery_workspace_name="str",
- )
-
- # please add some check logic here by yourself
- # ...
-
- @RandomNameResourceGroupPreparer(location=AZURE_LOCATION)
- @recorded_by_proxy
- def test_storage_discovery_workspaces_create_or_update(self,
resource_group):
- response = self.client.storage_discovery_workspaces.create_or_update(
- resource_group_name=resource_group.name,
- storage_discovery_workspace_name="str",
- resource={
- "location": "str",
- "id": "str",
- "name": "str",
- "properties": {
- "scopes": [
- {"displayName": "str", "resourceTypes": ["str"],
"tagKeysOnly": ["str"], "tags": {"str": "str"}}
- ],
- "workspaceRoots": ["str"],
- "description": "str",
- "provisioningState": "str",
- "sku": "str",
- },
- "systemData": {
- "createdAt": "2020-02-20 00:00:00",
- "createdBy": "str",
- "createdByType": "str",
- "lastModifiedAt": "2020-02-20 00:00:00",
- "lastModifiedBy": "str",
- "lastModifiedByType": "str",
- },
- "tags": {"str": "str"},
- "type": "str",
- },
- )
-
- # please add some check logic here by yourself
- # ...
-
- @RandomNameResourceGroupPreparer(location=AZURE_LOCATION)
- @recorded_by_proxy
- def test_storage_discovery_workspaces_update(self, resource_group):
- response = self.client.storage_discovery_workspaces.update(
- resource_group_name=resource_group.name,
- storage_discovery_workspace_name="str",
- properties={
- "properties": {
- "description": "str",
- "scopes": [
- {"displayName": "str", "resourceTypes": ["str"],
"tagKeysOnly": ["str"], "tags": {"str": "str"}}
- ],
- "sku": "str",
- "workspaceRoots": ["str"],
- },
- "tags": {"str": "str"},
- },
- )
-
- # please add some check logic here by yourself
- # ...
-
- @RandomNameResourceGroupPreparer(location=AZURE_LOCATION)
- @recorded_by_proxy
- def test_storage_discovery_workspaces_delete(self, resource_group):
- response = self.client.storage_discovery_workspaces.delete(
- resource_group_name=resource_group.name,
- storage_discovery_workspace_name="str",
- )
-
- # please add some check logic here by yourself
- # ...
-
- @RandomNameResourceGroupPreparer(location=AZURE_LOCATION)
- @recorded_by_proxy
- def test_storage_discovery_workspaces_list_by_resource_group(self,
resource_group):
- response =
self.client.storage_discovery_workspaces.list_by_resource_group(
- resource_group_name=resource_group.name,
- )
- result = [r for r in response]
- # please add some check logic here by yourself
- # ...
-
- @RandomNameResourceGroupPreparer(location=AZURE_LOCATION)
- @recorded_by_proxy
- def test_storage_discovery_workspaces_list_by_subscription(self,
resource_group):
- response =
self.client.storage_discovery_workspaces.list_by_subscription()
- result = [r for r in response]
- # please add some check logic here by yourself
- # ...
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure_mgmt_storagediscovery-1.0.0/generated_tests/test_storage_discovery_mgmt_storage_discovery_workspaces_operations_async.py
new/azure_mgmt_storagediscovery-1.0.1/generated_tests/test_storage_discovery_mgmt_storage_discovery_workspaces_operations_async.py
---
old/azure_mgmt_storagediscovery-1.0.0/generated_tests/test_storage_discovery_mgmt_storage_discovery_workspaces_operations_async.py
2025-10-02 01:38:10.000000000 +0200
+++
new/azure_mgmt_storagediscovery-1.0.1/generated_tests/test_storage_discovery_mgmt_storage_discovery_workspaces_operations_async.py
1970-01-01 01:00:00.000000000 +0100
@@ -1,117 +0,0 @@
-# coding=utf-8
-# --------------------------------------------------------------------------
-# Copyright (c) Microsoft Corporation. All rights reserved.
-# Licensed under the MIT License. See License.txt in the project root for
license information.
-# Code generated by Microsoft (R) Python Code Generator.
-# Changes may cause incorrect behavior and will be lost if the code is
regenerated.
-# --------------------------------------------------------------------------
-import pytest
-from azure.mgmt.storagediscovery.aio import StorageDiscoveryMgmtClient
-
-from devtools_testutils import AzureMgmtRecordedTestCase,
RandomNameResourceGroupPreparer
-from devtools_testutils.aio import recorded_by_proxy_async
-
-AZURE_LOCATION = "eastus"
-
-
[email protected]("you may need to update the auto-generated test case before
run it")
-class
TestStorageDiscoveryMgmtStorageDiscoveryWorkspacesOperationsAsync(AzureMgmtRecordedTestCase):
- def setup_method(self, method):
- self.client = self.create_mgmt_client(StorageDiscoveryMgmtClient,
is_async=True)
-
- @RandomNameResourceGroupPreparer(location=AZURE_LOCATION)
- @recorded_by_proxy_async
- async def test_storage_discovery_workspaces_get(self, resource_group):
- response = await self.client.storage_discovery_workspaces.get(
- resource_group_name=resource_group.name,
- storage_discovery_workspace_name="str",
- )
-
- # please add some check logic here by yourself
- # ...
-
- @RandomNameResourceGroupPreparer(location=AZURE_LOCATION)
- @recorded_by_proxy_async
- async def test_storage_discovery_workspaces_create_or_update(self,
resource_group):
- response = await
self.client.storage_discovery_workspaces.create_or_update(
- resource_group_name=resource_group.name,
- storage_discovery_workspace_name="str",
- resource={
- "location": "str",
- "id": "str",
- "name": "str",
- "properties": {
- "scopes": [
- {"displayName": "str", "resourceTypes": ["str"],
"tagKeysOnly": ["str"], "tags": {"str": "str"}}
- ],
- "workspaceRoots": ["str"],
- "description": "str",
- "provisioningState": "str",
- "sku": "str",
- },
- "systemData": {
- "createdAt": "2020-02-20 00:00:00",
- "createdBy": "str",
- "createdByType": "str",
- "lastModifiedAt": "2020-02-20 00:00:00",
- "lastModifiedBy": "str",
- "lastModifiedByType": "str",
- },
- "tags": {"str": "str"},
- "type": "str",
- },
- )
-
- # please add some check logic here by yourself
- # ...
-
- @RandomNameResourceGroupPreparer(location=AZURE_LOCATION)
- @recorded_by_proxy_async
- async def test_storage_discovery_workspaces_update(self, resource_group):
- response = await self.client.storage_discovery_workspaces.update(
- resource_group_name=resource_group.name,
- storage_discovery_workspace_name="str",
- properties={
- "properties": {
- "description": "str",
- "scopes": [
- {"displayName": "str", "resourceTypes": ["str"],
"tagKeysOnly": ["str"], "tags": {"str": "str"}}
- ],
- "sku": "str",
- "workspaceRoots": ["str"],
- },
- "tags": {"str": "str"},
- },
- )
-
- # please add some check logic here by yourself
- # ...
-
- @RandomNameResourceGroupPreparer(location=AZURE_LOCATION)
- @recorded_by_proxy_async
- async def test_storage_discovery_workspaces_delete(self, resource_group):
- response = await self.client.storage_discovery_workspaces.delete(
- resource_group_name=resource_group.name,
- storage_discovery_workspace_name="str",
- )
-
- # please add some check logic here by yourself
- # ...
-
- @RandomNameResourceGroupPreparer(location=AZURE_LOCATION)
- @recorded_by_proxy_async
- async def test_storage_discovery_workspaces_list_by_resource_group(self,
resource_group):
- response =
self.client.storage_discovery_workspaces.list_by_resource_group(
- resource_group_name=resource_group.name,
- )
- result = [r async for r in response]
- # please add some check logic here by yourself
- # ...
-
- @RandomNameResourceGroupPreparer(location=AZURE_LOCATION)
- @recorded_by_proxy_async
- async def test_storage_discovery_workspaces_list_by_subscription(self,
resource_group):
- response =
self.client.storage_discovery_workspaces.list_by_subscription()
- result = [r async for r in response]
- # please add some check logic here by yourself
- # ...
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/azure_mgmt_storagediscovery-1.0.0/pyproject.toml
new/azure_mgmt_storagediscovery-1.0.1/pyproject.toml
--- old/azure_mgmt_storagediscovery-1.0.0/pyproject.toml 2025-10-02
01:38:10.000000000 +0200
+++ new/azure_mgmt_storagediscovery-1.0.1/pyproject.toml 2025-10-09
10:00:04.000000000 +0200
@@ -55,6 +55,8 @@
exclude = [
"tests*",
"samples*",
+ "generated_tests*",
+ "generated_samples*",
"doc*",
"azure",
"azure.mgmt",