Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions sdk/iothub/azure-mgmt-iothub/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"autorest": "3.3.0",
"use": "@autorest/python@5.6.6",
"commit": "495e6fd12856cf3d909125b1119c83a3a9f18a8a",
"autorest": "3.4.2",
"use": [
"@autorest/python@5.8.1",
"@autorest/modelerfour@4.19.2"
],
"commit": "3566c94f1f4e3716b3801bdec259328151dcdeae",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/iothub/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.6.6 --version=3.3.0",
"autorest_command": "autorest specification/iothub/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.1 --use=@autorest/modelerfour@4.19.2 --version=3.4.2",
"readme": "specification/iothub/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "2.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ async def get(
self,
resource_group_name: str,
resource_name: str,
**kwargs
**kwargs: Any
) -> "_models.IotHubDescription":
"""Get the non-security related metadata of an IoT hub.

Expand Down Expand Up @@ -109,7 +109,7 @@ async def _create_or_update_initial(
resource_group_name: str,
resource_name: str,
iot_hub_description: "_models.IotHubDescription",
**kwargs
**kwargs: Any
) -> "_models.IotHubDescription":
cls = kwargs.pop('cls', None) # type: ClsType["_models.IotHubDescription"]
error_map = {
Expand Down Expand Up @@ -167,7 +167,7 @@ async def begin_create_or_update(
resource_group_name: str,
resource_name: str,
iot_hub_description: "_models.IotHubDescription",
**kwargs
**kwargs: Any
) -> AsyncLROPoller["_models.IotHubDescription"]:
"""Create or update the metadata of an IoT hub.

Expand All @@ -185,8 +185,8 @@ async def begin_create_or_update(
:type iot_hub_description: ~azure.mgmt.iothub.v2016_02_03.models.IotHubDescription
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be AsyncARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either IotHubDescription or the result of cls(response)
Expand Down Expand Up @@ -243,7 +243,7 @@ async def _delete_initial(
self,
resource_group_name: str,
resource_name: str,
**kwargs
**kwargs: Any
) -> Optional[Union["_models.IotHubDescription", "_models.ErrorDetails"]]:
cls = kwargs.pop('cls', None) # type: ClsType[Optional[Union["_models.IotHubDescription", "_models.ErrorDetails"]]]
error_map = {
Expand Down Expand Up @@ -299,7 +299,7 @@ async def begin_delete(
self,
resource_group_name: str,
resource_name: str,
**kwargs
**kwargs: Any
) -> AsyncLROPoller[Union["_models.IotHubDescription", "_models.ErrorDetails"]]:
"""Delete an IoT hub.

Expand All @@ -311,8 +311,8 @@ async def begin_delete(
:type resource_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be AsyncARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either IotHubDescription or the result of cls(response)
Expand Down Expand Up @@ -366,7 +366,7 @@ def get_long_running_output(pipeline_response):

def list_by_subscription(
self,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.IotHubDescriptionListResult"]:
"""Get all the IoT hubs in a subscription.

Expand Down Expand Up @@ -436,7 +436,7 @@ async def get_next(next_link=None):
def list_by_resource_group(
self,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.IotHubDescriptionListResult"]:
"""Get all the IoT hubs in a resource group.

Expand Down Expand Up @@ -510,7 +510,7 @@ async def get_stats(
self,
resource_group_name: str,
resource_name: str,
**kwargs
**kwargs: Any
) -> "_models.RegistryStatistics":
"""Get the statistics from an IoT hub.

Expand Down Expand Up @@ -571,7 +571,7 @@ def get_valid_skus(
self,
resource_group_name: str,
resource_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.IotHubSkuDescriptionListResult"]:
"""Get the list of valid SKUs for an IoT hub.

Expand Down Expand Up @@ -649,7 +649,7 @@ def list_event_hub_consumer_groups(
resource_group_name: str,
resource_name: str,
event_hub_endpoint_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.EventHubConsumerGroupsListResult"]:
"""Get a list of the consumer groups in the Event Hub-compatible device-to-cloud endpoint in an IoT hub.

Expand Down Expand Up @@ -732,7 +732,7 @@ async def get_event_hub_consumer_group(
resource_name: str,
event_hub_endpoint_name: str,
name: str,
**kwargs
**kwargs: Any
) -> "_models.EventHubConsumerGroupInfo":
"""Get a consumer group from the Event Hub-compatible device-to-cloud endpoint for an IoT hub.

Expand Down Expand Up @@ -801,7 +801,7 @@ async def create_event_hub_consumer_group(
resource_name: str,
event_hub_endpoint_name: str,
name: str,
**kwargs
**kwargs: Any
) -> "_models.EventHubConsumerGroupInfo":
"""Add a consumer group to an Event Hub-compatible endpoint in an IoT hub.

Expand Down Expand Up @@ -870,7 +870,7 @@ async def delete_event_hub_consumer_group(
resource_name: str,
event_hub_endpoint_name: str,
name: str,
**kwargs
**kwargs: Any
) -> None:
"""Delete a consumer group from an Event Hub-compatible endpoint in an IoT hub.

Expand Down Expand Up @@ -934,7 +934,7 @@ def list_jobs(
self,
resource_group_name: str,
resource_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.JobResponseListResult"]:
"""Get a list of all the jobs in an IoT hub. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry.

Expand Down Expand Up @@ -1013,7 +1013,7 @@ async def get_job(
resource_group_name: str,
resource_name: str,
job_id: str,
**kwargs
**kwargs: Any
) -> "_models.JobResponse":
"""Get the details of a job from an IoT hub. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry.

Expand Down Expand Up @@ -1078,7 +1078,7 @@ def get_quota_metrics(
self,
resource_group_name: str,
resource_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.IotHubQuotaMetricInfoListResult"]:
"""Get the quota metrics for an IoT hub.

Expand Down Expand Up @@ -1154,7 +1154,7 @@ async def get_next(next_link=None):
async def check_name_availability(
self,
operation_inputs: "_models.OperationInputs",
**kwargs
**kwargs: Any
) -> "_models.IotHubNameAvailabilityInfo":
"""Check if an IoT hub name is available.

Expand Down Expand Up @@ -1217,7 +1217,7 @@ def list_keys(
self,
resource_group_name: str,
resource_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.SharedAccessSignatureAuthorizationRuleListResult"]:
"""Get the security metadata for an IoT hub. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security.

Expand Down Expand Up @@ -1296,7 +1296,7 @@ async def get_keys_for_key_name(
resource_group_name: str,
resource_name: str,
key_name: str,
**kwargs
**kwargs: Any
) -> "_models.SharedAccessSignatureAuthorizationRule":
"""Get a shared access policy by name from an IoT hub. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security.

Expand Down Expand Up @@ -1362,7 +1362,7 @@ async def export_devices(
resource_group_name: str,
resource_name: str,
export_devices_parameters: "_models.ExportDevicesRequest",
**kwargs
**kwargs: Any
) -> "_models.JobResponse":
"""Exports all the device identities in the IoT hub identity registry to an Azure Storage blob container. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities.

Expand Down Expand Up @@ -1433,7 +1433,7 @@ async def import_devices(
resource_group_name: str,
resource_name: str,
import_devices_parameters: "_models.ImportDevicesRequest",
**kwargs
**kwargs: Any
) -> "_models.JobResponse":
"""Import, update, or delete device identities in the IoT hub identity registry from a blob. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ def begin_create_or_update(
:type iot_hub_description: ~azure.mgmt.iothub.v2016_02_03.models.IotHubDescription
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the ARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be ARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.PollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of LROPoller that returns either IotHubDescription or the result of cls(response)
Expand Down Expand Up @@ -320,8 +320,8 @@ def begin_delete(
:type resource_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the ARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be ARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.PollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of LROPoller that returns either IotHubDescription or the result of cls(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "2.0.0"
VERSION = "1.0.0b1"
Loading