Skip to content

Commit 1c82c62

Browse files
azure-sdkSiongithubChenxiJiang333
authored
[AutoPR azure-mgmt-iothubprovisioningservices]-generated-from-SDK Generation - Python-5419381 (#43251)
* Configurations: 'specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/DeviceProvisioningServices/tspconfig.yaml', API Version: 2025-02-01-preview, SDK Release Type: beta, and CommitSHA: '0dd267ce5aed77b544c8e99531a4fac74939d87c' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5419381 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * add missing dependency to fix tests build error * update testcases & changelog * Update dev_requirements.txt * Exclude generated_tests and generated_samples from packaging * Configurations: 'specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/DeviceProvisioningServices/tspconfig.yaml', API Version: 2025-02-01-preview, SDK Release Type: beta, and CommitSHA: '67e2ef5b765f2963b79cd52864b9c65f4a3f6e1e' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5432164 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Update pyproject.toml * Update CHANGELOG.md * update testcases * Configurations: 'specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/DeviceProvisioningServices/tspconfig.yaml', API Version: 2025-02-01-preview, SDK Release Type: beta, and CommitSHA: '3b0b579e6b543e6d74b7ecb310c84c8578b201b7' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5432444 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * update changelog&pyproject.toml * Update CHANGELOG.md --------- Co-authored-by: Suat Iskender <[email protected]> Co-authored-by: ChenxiJiang333 <[email protected]> Co-authored-by: ChenxiJiang333 <[email protected]>
1 parent 12cd211 commit 1c82c62

File tree

81 files changed

+12237
-9484
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+12237
-9484
lines changed

sdk/iothub/azure-mgmt-iothubprovisioningservices/CHANGELOG.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,65 @@
11
# Release History
22

3+
## 1.2.0b3 (2025-10-09)
4+
5+
### Features Added
6+
7+
- Model `IotDpsClient` added parameter `cloud_setting` in method `__init__`
8+
- Client `IotDpsClient` added method `send_request`
9+
- Model `GroupIdInformation` added property `system_data`
10+
- Model `IotDpsPropertiesDescription` added property `device_registry_namespace`
11+
- Model `Resource` added property `system_data`
12+
- Added enum `DeviceRegistryNamespaceAuthenticationType`
13+
- Added model `DeviceRegistryNamespaceDescription`
14+
- Added model `ErrorAdditionalInfo`
15+
- Added model `ErrorDetail`
16+
- Added model `ErrorResponse`
17+
- Added model `ProxyResource`
18+
- Added model `TrackedResource`
19+
20+
### Breaking Changes
21+
22+
- This version introduces new hybrid models which have dual dictionary and model nature. And please follow https://aka.ms/azsdk/python/migrate/hybrid-models for migration.
23+
- For the method breakings, please refer to https://aka.ms/azsdk/python/migrate/operations for mgration.
24+
- Model `Resource` deleted or renamed its instance variable `location`
25+
- Model `Resource` deleted or renamed its instance variable `resourcegroup`
26+
- Model `Resource` deleted or renamed its instance variable `subscriptionid`
27+
- Model `Resource` deleted or renamed its instance variable `tags`
28+
- Deleted or renamed model `CertificateBodyDescription`
29+
- Deleted or renamed model `CertificateListDescription`
30+
- Deleted or renamed model `PrivateLinkResources`
31+
- Method `DpsCertificateOperations.create_or_update` renamed positional_or_keyword parameter `if_match` to keyword_only parameters `etag`/`match_condition`
32+
- Method `DpsCertificateOperations.delete` changed its parameter `certificate_name1` from `positional_or_keyword` to `keyword_only`
33+
- Method `DpsCertificateOperations.delete` changed its parameter `certificate_raw_bytes` from `positional_or_keyword` to `keyword_only`
34+
- Method `DpsCertificateOperations.delete` changed its parameter `certificate_is_verified` from `positional_or_keyword` to `keyword_only`
35+
- Method `DpsCertificateOperations.delete` changed its parameter `certificate_purpose` from `positional_or_keyword` to `keyword_only`
36+
- Method `DpsCertificateOperations.delete` changed its parameter `certificate_created` from `positional_or_keyword` to `keyword_only`
37+
- Method `DpsCertificateOperations.delete` changed its parameter `certificate_last_updated` from `positional_or_keyword` to `keyword_only`
38+
- Method `DpsCertificateOperations.delete` changed its parameter `certificate_has_private_key` from `positional_or_keyword` to `keyword_only`
39+
- Method `DpsCertificateOperations.delete` changed its parameter `certificate_nonce` from `positional_or_keyword` to `keyword_only`
40+
- Method `DpsCertificateOperations.delete` renamed positional_or_keyword parameter `if_match` to keyword_only parameters `etag`/`match_condition`
41+
- Method `DpsCertificateOperations.generate_verification_code` changed its parameter `certificate_name1` from `positional_or_keyword` to `keyword_only`
42+
- Method `DpsCertificateOperations.generate_verification_code` changed its parameter `certificate_raw_bytes` from `positional_or_keyword` to `keyword_only`
43+
- Method `DpsCertificateOperations.generate_verification_code` changed its parameter `certificate_is_verified` from `positional_or_keyword` to `keyword_only`
44+
- Method `DpsCertificateOperations.generate_verification_code` changed its parameter `certificate_purpose` from `positional_or_keyword` to `keyword_only`
45+
- Method `DpsCertificateOperations.generate_verification_code` changed its parameter `certificate_created` from `positional_or_keyword` to `keyword_only`
46+
- Method `DpsCertificateOperations.generate_verification_code` changed its parameter `certificate_last_updated` from `positional_or_keyword` to `keyword_only`
47+
- Method `DpsCertificateOperations.generate_verification_code` changed its parameter `certificate_has_private_key` from `positional_or_keyword` to `keyword_only`
48+
- Method `DpsCertificateOperations.generate_verification_code` changed its parameter `certificate_nonce` from `positional_or_keyword` to `keyword_only`
49+
- Method `DpsCertificateOperations.generate_verification_code` renamed positional_or_keyword parameter `if_match` to keyword_only parameters `etag`/`match_condition`
50+
- Method `DpsCertificateOperations.get` renamed positional_or_keyword parameter `if_match` to keyword_only parameters `etag`/`match_condition`
51+
- Method `DpsCertificateOperations.verify_certificate` changed its parameter `certificate_name1` from `positional_or_keyword` to `keyword_only`
52+
- Method `DpsCertificateOperations.verify_certificate` changed its parameter `certificate_raw_bytes` from `positional_or_keyword` to `keyword_only`
53+
- Method `DpsCertificateOperations.verify_certificate` changed its parameter `certificate_is_verified` from `positional_or_keyword` to `keyword_only`
54+
- Method `DpsCertificateOperations.verify_certificate` changed its parameter `certificate_purpose` from `positional_or_keyword` to `keyword_only`
55+
- Method `DpsCertificateOperations.verify_certificate` changed its parameter `certificate_created` from `positional_or_keyword` to `keyword_only`
56+
- Method `DpsCertificateOperations.verify_certificate` changed its parameter `certificate_last_updated` from `positional_or_keyword` to `keyword_only`
57+
- Method `DpsCertificateOperations.verify_certificate` changed its parameter `certificate_has_private_key` from `positional_or_keyword` to `keyword_only`
58+
- Method `DpsCertificateOperations.verify_certificate` changed its parameter `certificate_nonce` from `positional_or_keyword` to `keyword_only`
59+
- Method `DpsCertificateOperations.verify_certificate` renamed positional_or_keyword parameter `if_match` to keyword_only parameters `etag`/`match_condition`
60+
- Parameter `asyncinfo` of `IotDpsResourceOperations.get_operation_result` is now required
61+
- Method `IotDpsResourceOperations.get_operation_result` changed its parameter `asyncinfo` from `positional_or_keyword` to `keyword_only`
62+
363
## 1.2.0b2 (2023-06-16)
464

565
### Features Added
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
include _meta.json
2-
recursive-include tests *.py *.json
3-
recursive-include samples *.py *.md
41
include *.md
5-
include azure/__init__.py
6-
include azure/mgmt/__init__.py
72
include LICENSE
83
include azure/mgmt/iothubprovisioningservices/py.typed
4+
recursive-include tests *.py
5+
recursive-include samples *.py *.md
6+
include azure/__init__.py
7+
include azure/mgmt/__init__.py

sdk/iothub/azure-mgmt-iothubprovisioningservices/README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Microsoft Azure SDK for Python
22

33
This is the Microsoft Azure IoT Hub Provisioning Services Client Library.
4-
This package has been tested with Python 3.7+.
4+
This package has been tested with Python 3.9+.
55
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
66

77
## _Disclaimer_
@@ -12,7 +12,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For
1212

1313
### Prerequisites
1414

15-
- Python 3.7+ is required to use this package.
15+
- Python 3.9+ is required to use this package.
1616
- [Azure subscription](https://azure.microsoft.com/free/)
1717

1818
### Install the package
@@ -24,7 +24,7 @@ pip install azure-identity
2424

2525
### Authentication
2626

27-
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.
27+
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the following environment variables.
2828

2929
- `AZURE_CLIENT_ID` for Azure client ID.
3030
- `AZURE_TENANT_ID` for Azure tenant ID.
@@ -59,6 +59,3 @@ Code samples for this package can be found at:
5959
If you encounter any bugs or have suggestions, please file an issue in the
6060
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
6161
section of the project.
62-
63-
64-

sdk/iothub/azure-mgmt-iothubprovisioningservices/_meta.json

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"apiVersion": "2025-02-01-preview",
3+
"commit": "3b0b579e6b543e6d74b7ecb310c84c8578b201b7",
4+
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
5+
"typespec_src": "specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/DeviceProvisioningServices",
6+
"emitterVersion": "0.52.0"
7+
}

0 commit comments

Comments
 (0)