summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-azure-mgmt-netapp.spec269
-rw-r--r--sources2
3 files changed, 243 insertions, 29 deletions
diff --git a/.gitignore b/.gitignore
index 7bc720a..da958de 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/azure-mgmt-netapp-9.0.1.zip
+/azure-mgmt-netapp-10.0.0.zip
diff --git a/python-azure-mgmt-netapp.spec b/python-azure-mgmt-netapp.spec
index 4807129..c248651 100644
--- a/python-azure-mgmt-netapp.spec
+++ b/python-azure-mgmt-netapp.spec
@@ -1,16 +1,13 @@
%global _empty_manifest_terminate_build 0
Name: python-azure-mgmt-netapp
-Version: 9.0.1
+Version: 10.0.0
Release: 1
Summary: Microsoft Azure NetApp Files Management Client Library for Python
License: MIT License
URL: https://github.com/Azure/azure-sdk-for-python
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b3/47/688c7a7d7ecea47824a3948ae89db6eb270cffbd83b0b68e6dfae2ffd5d9/azure-mgmt-netapp-9.0.1.zip
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ee/bd/82e8ee14fa61db2ef53aafb8f5b31efcc7748cae851f5c0567afb1903a2d/azure-mgmt-netapp-10.0.0.zip
BuildArch: noarch
-Requires: python3-msrest
-Requires: python3-azure-common
-Requires: python3-azure-mgmt-core
%description
# Microsoft Azure SDK for Python
@@ -23,17 +20,52 @@ For a more complete view of Azure libraries, see the [azure sdk python release](
_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_
-# Usage
+## Getting started
+### Prerequisites
-To learn how to use this package, see the [quickstart guide](https://aka.ms/azsdk/python/mgmt)
-
-For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure/)
-Code samples for this package can be found at [NetApp Files Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com.
-Additional code samples for different Azure services are available at [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)
+- Python 3.7+ is required to use this package.
+- [Azure subscription](https://azure.microsoft.com/free/)
+### Install the package
-# Provide Feedback
+```bash
+pip install azure-mgmt-netapp
+pip install azure-identity
+```
+
+### Authentication
+
+By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.
+
+- `AZURE_CLIENT_ID` for Azure client ID.
+- `AZURE_TENANT_ID` for Azure tenant ID.
+- `AZURE_CLIENT_SECRET` for Azure client secret.
+
+In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.
+
+With above configuration, client can be authenticated by following code:
+
+```python
+from azure.identity import DefaultAzureCredential
+from azure.mgmt.netapp import NetAppManagementClient
+import os
+
+sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
+client = NetAppManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
+```
+
+## Examples
+
+
+Code samples for this package can be found at [NetApp Files Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com and [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)
+
+
+## Troubleshooting
+
+## Next steps
+
+## Provide Feedback
If you encounter any bugs or have suggestions, please file an issue in the
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
@@ -45,6 +77,43 @@ section of the project.
# Release History
+## 10.0.0 (2023-04-20)
+
+### Features Added
+
+ - Added operation BackupsOperations.begin_restore_files
+ - Added operation VolumesOperations.begin_break_file_locks
+ - Model ActiveDirectory has a new parameter preferred_servers_for_ldap_client
+ - Model Backup has a new parameter system_data
+ - Model BackupPolicyDetails has a new parameter system_data
+ - Model Snapshot has a new parameter system_data
+ - Model Volume has a new parameter data_store_resource_id
+ - Model Volume has a new parameter file_access_logs
+ - Model Volume has a new parameter is_large_volume
+ - Model Volume has a new parameter provisioned_availability_zone
+ - Model VolumeGroupVolumeProperties has a new parameter data_store_resource_id
+ - Model VolumeGroupVolumeProperties has a new parameter file_access_logs
+ - Model VolumeGroupVolumeProperties has a new parameter is_large_volume
+ - Model VolumeGroupVolumeProperties has a new parameter provisioned_availability_zone
+ - Model VolumePropertiesDataProtection has a new parameter volume_relocation
+ - Model VolumeQuotaRulePatch has a new parameter tags
+ - Model VolumeRelocationProperties has a new parameter ready_to_be_finalized
+
+### Breaking Changes
+
+ - Model VolumeBackupProperties no longer has parameter vault_id
+ - Model VolumeRelocationProperties no longer has parameter old_bare_metal_tenant_id
+ - Model VolumeRelocationProperties no longer has parameter old_volume_id
+ - Parameter location of model BackupPolicyDetails is now required
+ - Removed operation group VaultsOperations
+
+## 9.0.2b1 (2023-02-16)
+
+### Other Changes
+
+ - Added generated samples in github repo
+ - Drop support for python<3.7.0
+
## 9.0.1 (2022-10-26)
### Bugs Fixed
@@ -461,17 +530,52 @@ For a more complete view of Azure libraries, see the [azure sdk python release](
_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_
-# Usage
+## Getting started
+
+### Prerequisites
+
+- Python 3.7+ is required to use this package.
+- [Azure subscription](https://azure.microsoft.com/free/)
+
+### Install the package
+
+```bash
+pip install azure-mgmt-netapp
+pip install azure-identity
+```
+
+### Authentication
+
+By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.
+
+- `AZURE_CLIENT_ID` for Azure client ID.
+- `AZURE_TENANT_ID` for Azure tenant ID.
+- `AZURE_CLIENT_SECRET` for Azure client secret.
+
+In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.
+
+With above configuration, client can be authenticated by following code:
+
+```python
+from azure.identity import DefaultAzureCredential
+from azure.mgmt.netapp import NetAppManagementClient
+import os
+
+sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
+client = NetAppManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
+```
+
+## Examples
-To learn how to use this package, see the [quickstart guide](https://aka.ms/azsdk/python/mgmt)
-
-For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure/)
-Code samples for this package can be found at [NetApp Files Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com.
-Additional code samples for different Azure services are available at [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)
+Code samples for this package can be found at [NetApp Files Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com and [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)
-# Provide Feedback
+## Troubleshooting
+
+## Next steps
+
+## Provide Feedback
If you encounter any bugs or have suggestions, please file an issue in the
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
@@ -483,6 +587,43 @@ section of the project.
# Release History
+## 10.0.0 (2023-04-20)
+
+### Features Added
+
+ - Added operation BackupsOperations.begin_restore_files
+ - Added operation VolumesOperations.begin_break_file_locks
+ - Model ActiveDirectory has a new parameter preferred_servers_for_ldap_client
+ - Model Backup has a new parameter system_data
+ - Model BackupPolicyDetails has a new parameter system_data
+ - Model Snapshot has a new parameter system_data
+ - Model Volume has a new parameter data_store_resource_id
+ - Model Volume has a new parameter file_access_logs
+ - Model Volume has a new parameter is_large_volume
+ - Model Volume has a new parameter provisioned_availability_zone
+ - Model VolumeGroupVolumeProperties has a new parameter data_store_resource_id
+ - Model VolumeGroupVolumeProperties has a new parameter file_access_logs
+ - Model VolumeGroupVolumeProperties has a new parameter is_large_volume
+ - Model VolumeGroupVolumeProperties has a new parameter provisioned_availability_zone
+ - Model VolumePropertiesDataProtection has a new parameter volume_relocation
+ - Model VolumeQuotaRulePatch has a new parameter tags
+ - Model VolumeRelocationProperties has a new parameter ready_to_be_finalized
+
+### Breaking Changes
+
+ - Model VolumeBackupProperties no longer has parameter vault_id
+ - Model VolumeRelocationProperties no longer has parameter old_bare_metal_tenant_id
+ - Model VolumeRelocationProperties no longer has parameter old_volume_id
+ - Parameter location of model BackupPolicyDetails is now required
+ - Removed operation group VaultsOperations
+
+## 9.0.2b1 (2023-02-16)
+
+### Other Changes
+
+ - Added generated samples in github repo
+ - Drop support for python<3.7.0
+
## 9.0.1 (2022-10-26)
### Bugs Fixed
@@ -896,17 +1037,52 @@ For a more complete view of Azure libraries, see the [azure sdk python release](
_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_
-# Usage
+## Getting started
+
+### Prerequisites
+
+- Python 3.7+ is required to use this package.
+- [Azure subscription](https://azure.microsoft.com/free/)
+
+### Install the package
+
+```bash
+pip install azure-mgmt-netapp
+pip install azure-identity
+```
+
+### Authentication
+
+By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.
+- `AZURE_CLIENT_ID` for Azure client ID.
+- `AZURE_TENANT_ID` for Azure tenant ID.
+- `AZURE_CLIENT_SECRET` for Azure client secret.
-To learn how to use this package, see the [quickstart guide](https://aka.ms/azsdk/python/mgmt)
-
-For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure/)
-Code samples for this package can be found at [NetApp Files Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com.
-Additional code samples for different Azure services are available at [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)
+In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.
+With above configuration, client can be authenticated by following code:
-# Provide Feedback
+```python
+from azure.identity import DefaultAzureCredential
+from azure.mgmt.netapp import NetAppManagementClient
+import os
+
+sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
+client = NetAppManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
+```
+
+## Examples
+
+
+Code samples for this package can be found at [NetApp Files Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com and [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)
+
+
+## Troubleshooting
+
+## Next steps
+
+## Provide Feedback
If you encounter any bugs or have suggestions, please file an issue in the
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
@@ -918,6 +1094,43 @@ section of the project.
# Release History
+## 10.0.0 (2023-04-20)
+
+### Features Added
+
+ - Added operation BackupsOperations.begin_restore_files
+ - Added operation VolumesOperations.begin_break_file_locks
+ - Model ActiveDirectory has a new parameter preferred_servers_for_ldap_client
+ - Model Backup has a new parameter system_data
+ - Model BackupPolicyDetails has a new parameter system_data
+ - Model Snapshot has a new parameter system_data
+ - Model Volume has a new parameter data_store_resource_id
+ - Model Volume has a new parameter file_access_logs
+ - Model Volume has a new parameter is_large_volume
+ - Model Volume has a new parameter provisioned_availability_zone
+ - Model VolumeGroupVolumeProperties has a new parameter data_store_resource_id
+ - Model VolumeGroupVolumeProperties has a new parameter file_access_logs
+ - Model VolumeGroupVolumeProperties has a new parameter is_large_volume
+ - Model VolumeGroupVolumeProperties has a new parameter provisioned_availability_zone
+ - Model VolumePropertiesDataProtection has a new parameter volume_relocation
+ - Model VolumeQuotaRulePatch has a new parameter tags
+ - Model VolumeRelocationProperties has a new parameter ready_to_be_finalized
+
+### Breaking Changes
+
+ - Model VolumeBackupProperties no longer has parameter vault_id
+ - Model VolumeRelocationProperties no longer has parameter old_bare_metal_tenant_id
+ - Model VolumeRelocationProperties no longer has parameter old_volume_id
+ - Parameter location of model BackupPolicyDetails is now required
+ - Removed operation group VaultsOperations
+
+## 9.0.2b1 (2023-02-16)
+
+### Other Changes
+
+ - Added generated samples in github repo
+ - Drop support for python<3.7.0
+
## 9.0.1 (2022-10-26)
### Bugs Fixed
@@ -1318,7 +1531,7 @@ This version uses a next-generation code generator that introduces important bre
%prep
-%autosetup -n azure-mgmt-netapp-9.0.1
+%autosetup -n azure-mgmt-netapp-10.0.0
%build
%py3_build
@@ -1358,5 +1571,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 9.0.1-1
+* Fri Apr 21 2023 Python_Bot <Python_Bot@openeuler.org> - 10.0.0-1
- Package Spec generated
diff --git a/sources b/sources
index 51b34c6..0c186ac 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fb328f32b00004bd0db59a03dfbb2d28 azure-mgmt-netapp-9.0.1.zip
+40ccc89d31a4533ca4927079678530a2 azure-mgmt-netapp-10.0.0.zip