-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
413 additions
and
5,121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.4, generator: @autorest/[email protected]) | ||
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.2, generator: @autorest/[email protected]) | ||
# Changes may cause incorrect behavior and will be lost if the code is regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.4, generator: @autorest/[email protected]) | ||
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.2, generator: @autorest/[email protected]) | ||
# Changes may cause incorrect behavior and will be lost if the code is regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
|
@@ -24,12 +24,13 @@ class DeviceUpdateClientConfiguration(Configuration): # pylint: disable=too-man | |
:param credential: Credential needed for the client to connect to Azure. Required. | ||
:type credential: ~azure.core.credentials.TokenCredential | ||
:param endpoint: Account endpoint. Required. | ||
:param endpoint: The Device Update for IoT Hub account endpoint (hostname only, no protocol). | ||
Required. | ||
:type endpoint: str | ||
:param instance_id: Account instance identifier. Required. | ||
:param instance_id: The Device Update for IoT Hub account instance identifier. Required. | ||
:type instance_id: str | ||
:keyword api_version: Api Version. Default value is "2022-07-01-preview". Note that overriding | ||
this default value may result in unsupported behavior. | ||
:keyword api_version: Api Version. Default value is "2022-10-01". Note that overriding this | ||
default value may result in unsupported behavior. | ||
:paramtype api_version: str | ||
""" | ||
|
||
|
@@ -41,7 +42,7 @@ def __init__( | |
**kwargs: Any | ||
) -> None: | ||
super(DeviceUpdateClientConfiguration, self).__init__(**kwargs) | ||
api_version = kwargs.pop('api_version', "2022-07-01-preview") # type: str | ||
api_version = kwargs.pop('api_version', "2022-10-01") # type: str | ||
|
||
if credential is None: | ||
raise ValueError("Parameter 'credential' must not be None.") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.4, generator: @autorest/[email protected]) | ||
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.2, generator: @autorest/[email protected]) | ||
# Changes may cause incorrect behavior and will be lost if the code is regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
|
@@ -20,7 +20,7 @@ | |
from azure.core.credentials import TokenCredential | ||
|
||
class DeviceUpdateClient: # pylint: disable=client-accepts-api-version-keyword | ||
"""Device Update for IoT Hub is an Azure service that enables customers to publish update for | ||
"""Device Update for IoT Hub is an Azure service that enables customers to publish updates for | ||
their IoT devices to the cloud, and then deploy that update to their devices (approve updates | ||
to groups of devices managed and provisioned in IoT Hub). It leverages the proven security and | ||
reliability of the Windows Update platform, optimized for IoT devices. It works globally and | ||
|
@@ -33,12 +33,13 @@ class DeviceUpdateClient: # pylint: disable=client-accepts-api-version-keyword | |
:vartype device_management: deviceupdateclient.operations.DeviceManagementOperations | ||
:param credential: Credential needed for the client to connect to Azure. Required. | ||
:type credential: ~azure.core.credentials.TokenCredential | ||
:param endpoint: Account endpoint. Required. | ||
:param endpoint: The Device Update for IoT Hub account endpoint (hostname only, no protocol). | ||
Required. | ||
:type endpoint: str | ||
:param instance_id: Account instance identifier. Required. | ||
:param instance_id: The Device Update for IoT Hub account instance identifier. Required. | ||
:type instance_id: str | ||
:keyword api_version: Api Version. Default value is "2022-07-01-preview". Note that overriding | ||
this default value may result in unsupported behavior. | ||
:keyword api_version: Api Version. Default value is "2022-10-01". Note that overriding this | ||
default value may result in unsupported behavior. | ||
:paramtype api_version: str | ||
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no | ||
Retry-After header is present. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# -------------------------------------------------------------------------- | ||
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.4, generator: @autorest/[email protected]) | ||
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.2, generator: @autorest/[email protected]) | ||
# Changes may cause incorrect behavior and will be lost if the code is regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.4, generator: @autorest/[email protected]) | ||
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.2, generator: @autorest/[email protected]) | ||
# Changes may cause incorrect behavior and will be lost if the code is regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.