-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR] iothub/resource-manager (#3206)
* Generated from 6e6ec8c1ce0de25d69f06e5e884e3696d0fde609 (#3205) changes * [AutoPR iothub/resource-manager] typo: iothub/Microsoft.Devices (#3943) * Generated from fdece31d93936dffb37985d3b40ba66879ab5d97 typo: iothub/Microsoft.Devices - Double word "the" - avrodeflate -> avroDeflate - Thehub -> The hub - Double word "state" - Trim trailing whitespace * Packaging update of azure-mgmt-iothub * Generated from c3eee96d413d922a34c5fb57a01c7db20d3ddeb0 (#4037) Add package-2018-12 to Go SDK build * 0.7.0 * Re-record tests
- Loading branch information
1 parent
1fe4be6
commit abb2299
Showing
25 changed files
with
472 additions
and
163 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
include *.rst | ||
include azure/__init__.py | ||
include azure/mgmt/__init__.py |
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
28 changes: 28 additions & 0 deletions
28
azure-mgmt-iothub/azure/mgmt/iothub/models/iot_hub_properties_device_streams.py
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# 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) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class IotHubPropertiesDeviceStreams(Model): | ||
"""The device streams properties of iothub. | ||
:param streaming_endpoints: List of Device Streams Endpoints. | ||
:type streaming_endpoints: list[str] | ||
""" | ||
|
||
_attribute_map = { | ||
'streaming_endpoints': {'key': 'streamingEndpoints', 'type': '[str]'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(IotHubPropertiesDeviceStreams, self).__init__(**kwargs) | ||
self.streaming_endpoints = kwargs.get('streaming_endpoints', None) |
28 changes: 28 additions & 0 deletions
28
azure-mgmt-iothub/azure/mgmt/iothub/models/iot_hub_properties_device_streams_py3.py
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# 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) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class IotHubPropertiesDeviceStreams(Model): | ||
"""The device streams properties of iothub. | ||
:param streaming_endpoints: List of Device Streams Endpoints. | ||
:type streaming_endpoints: list[str] | ||
""" | ||
|
||
_attribute_map = { | ||
'streaming_endpoints': {'key': 'streamingEndpoints', 'type': '[str]'}, | ||
} | ||
|
||
def __init__(self, *, streaming_endpoints=None, **kwargs) -> None: | ||
super(IotHubPropertiesDeviceStreams, self).__init__(**kwargs) | ||
self.streaming_endpoints = streaming_endpoints |
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
32 changes: 32 additions & 0 deletions
32
azure-mgmt-iothub/azure/mgmt/iothub/models/routing_twin.py
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# 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) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class RoutingTwin(Model): | ||
"""Twin reference input parameter. This is an optional parameter. | ||
:param tags: Twin Tags | ||
:type tags: object | ||
:param properties: | ||
:type properties: ~azure.mgmt.iothub.models.RoutingTwinProperties | ||
""" | ||
|
||
_attribute_map = { | ||
'tags': {'key': 'tags', 'type': 'object'}, | ||
'properties': {'key': 'properties', 'type': 'RoutingTwinProperties'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(RoutingTwin, self).__init__(**kwargs) | ||
self.tags = kwargs.get('tags', None) | ||
self.properties = kwargs.get('properties', None) |
32 changes: 32 additions & 0 deletions
32
azure-mgmt-iothub/azure/mgmt/iothub/models/routing_twin_properties.py
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# 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) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class RoutingTwinProperties(Model): | ||
"""RoutingTwinProperties. | ||
:param desired: Twin desired properties | ||
:type desired: object | ||
:param reported: Twin desired properties | ||
:type reported: object | ||
""" | ||
|
||
_attribute_map = { | ||
'desired': {'key': 'desired', 'type': 'object'}, | ||
'reported': {'key': 'reported', 'type': 'object'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(RoutingTwinProperties, self).__init__(**kwargs) | ||
self.desired = kwargs.get('desired', None) | ||
self.reported = kwargs.get('reported', None) |
32 changes: 32 additions & 0 deletions
32
azure-mgmt-iothub/azure/mgmt/iothub/models/routing_twin_properties_py3.py
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# 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) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class RoutingTwinProperties(Model): | ||
"""RoutingTwinProperties. | ||
:param desired: Twin desired properties | ||
:type desired: object | ||
:param reported: Twin desired properties | ||
:type reported: object | ||
""" | ||
|
||
_attribute_map = { | ||
'desired': {'key': 'desired', 'type': 'object'}, | ||
'reported': {'key': 'reported', 'type': 'object'}, | ||
} | ||
|
||
def __init__(self, *, desired=None, reported=None, **kwargs) -> None: | ||
super(RoutingTwinProperties, self).__init__(**kwargs) | ||
self.desired = desired | ||
self.reported = reported |
32 changes: 32 additions & 0 deletions
32
azure-mgmt-iothub/azure/mgmt/iothub/models/routing_twin_py3.py
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# 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) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class RoutingTwin(Model): | ||
"""Twin reference input parameter. This is an optional parameter. | ||
:param tags: Twin Tags | ||
:type tags: object | ||
:param properties: | ||
:type properties: ~azure.mgmt.iothub.models.RoutingTwinProperties | ||
""" | ||
|
||
_attribute_map = { | ||
'tags': {'key': 'tags', 'type': 'object'}, | ||
'properties': {'key': 'properties', 'type': 'RoutingTwinProperties'}, | ||
} | ||
|
||
def __init__(self, *, tags=None, properties=None, **kwargs) -> None: | ||
super(RoutingTwin, self).__init__(**kwargs) | ||
self.tags = tags | ||
self.properties = properties |
Oops, something went wrong.