Skip to content

Commit b002b6e

Browse files
authored
[IoT] Adds baseline T2 Device Provisioning Service 2021-10-01 Dataplane Service SDK (Azure#29729)
1 parent a1da00c commit b002b6e

File tree

81 files changed

+39810
-0
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

+39810
-0
lines changed

.github/CODEOWNERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@
147147
/sdk/datalake/ @ro-joowan
148148
/sdk/datadatamigration/ @vchske
149149

150+
# PRLabel: %Device Provisioning
151+
/sdk/iothub/azure-iot-deviceprovisioning @c-ryan-k @digimaun
152+
150153
# PRLabel: %Device Update
151154
/sdk/deviceupdate/ @dpokluda @sedols
152155

.vscode/cspell.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1489,6 +1489,13 @@
14891489
"ctxt",
14901490
"wday"
14911491
]
1492+
},
1493+
{
1494+
"filename": "sdk/iothub/azure-iot-deviceprovisioning/azure/iot/deviceprovisioning/_serialization.py",
1495+
"words": [
1496+
"ctxt",
1497+
"wday"
1498+
]
14921499
}
14931500
],
14941501
"allowCompoundWords": true
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Release History
2+
3+
## 1.0.0b1 (2023-05-30)
4+
5+
- Initial Release
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Copyright (c) Microsoft Corporation.
2+
3+
MIT License
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
include *.md
2+
recursive-include tests *.py
3+
recursive-include samples *.py *.md
4+
include LICENSE
5+
include azure/__init__.py
6+
include azure/iot/__init__.py
7+
include azure/iot/deviceprovisioning/py.typed

sdk/iothub/azure-iot-deviceprovisioning/README.md

Lines changed: 351 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# coding=utf-8
2+
# --------------------------------------------------------------------------
3+
# Copyright (c) Microsoft Corporation. All rights reserved.
4+
# Licensed under the MIT License. See License.txt in the project root for license information.
5+
# Code generated by Microsoft (R) AutoRest Code Generator.
6+
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
7+
# --------------------------------------------------------------------------
8+
__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# coding=utf-8
2+
# --------------------------------------------------------------------------
3+
# Copyright (c) Microsoft Corporation. All rights reserved.
4+
# Licensed under the MIT License. See License.txt in the project root for license information.
5+
# Code generated by Microsoft (R) AutoRest Code Generator.
6+
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
7+
# --------------------------------------------------------------------------
8+
__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# coding=utf-8
2+
# --------------------------------------------------------------------------
3+
# Copyright (c) Microsoft Corporation. All rights reserved.
4+
# Licensed under the MIT License. See License.txt in the project root for license information.
5+
# Code generated by Microsoft (R) AutoRest Code Generator.
6+
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
7+
# --------------------------------------------------------------------------
8+
from ._api_version import ApiVersion
9+
from ._auth import generate_sas_token
10+
from ._patch import DeviceProvisioningClient
11+
from ._version import VERSION
12+
13+
__version__ = VERSION
14+
15+
16+
from ._patch import patch_sdk as _patch_sdk
17+
18+
__all__ = ["DeviceProvisioningClient", "ApiVersion", "generate_sas_token"]
19+
20+
21+
_patch_sdk()
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# --------------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
# --------------------------------------------------------------------------------------------
5+
6+
from enum import Enum
7+
8+
from azure.core import CaseInsensitiveEnumMeta
9+
10+
11+
class ApiVersion(str, Enum, metaclass=CaseInsensitiveEnumMeta):
12+
V2021_10_01 = "2021-10-01"
13+
14+
15+
DEFAULT_VERSION = ApiVersion.V2021_10_01

0 commit comments

Comments
 (0)