From bbd2c5e6b8e79cab6056e986f451c77dc90272e7 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 26 Aug 2022 03:35:00 +0000 Subject: [PATCH] CodeGen from PR 20401 in Azure/azure-rest-api-specs Merge baa66b2eafb40ade241b6404e49b17c2030bcfaf into 6635f9f2f77185e6770680bc8cab9efae9c38b2b --- .../azure-mgmt-deviceupdate/_meta.json | 4 +- .../_device_update_mgmt_client.py | 12 +- .../azure/mgmt/deviceupdate/_version.py | 2 +- .../aio/_device_update_mgmt_client.py | 12 +- .../aio/operations/_accounts_operations.py | 28 +-- .../_device_update_mgmt_client_operations.py | 10 +- .../aio/operations/_instances_operations.py | 26 +-- .../aio/operations/_operations.py | 4 +- ..._endpoint_connection_proxies_operations.py | 24 +-- ...private_endpoint_connections_operations.py | 16 +- .../_private_link_resources_operations.py | 6 +- .../mgmt/deviceupdate/models/_models_py3.py | 173 +++++++++--------- .../operations/_accounts_operations.py | 28 +-- .../_device_update_mgmt_client_operations.py | 10 +- .../operations/_instances_operations.py | 26 +-- .../deviceupdate/operations/_operations.py | 4 +- ..._endpoint_connection_proxies_operations.py | 24 +-- ...private_endpoint_connections_operations.py | 19 +- .../_private_link_resources_operations.py | 6 +- 19 files changed, 219 insertions(+), 215 deletions(-) diff --git a/sdk/deviceupdate/azure-mgmt-deviceupdate/_meta.json b/sdk/deviceupdate/azure-mgmt-deviceupdate/_meta.json index 2e3942f2ac5a..5e1fac9a3791 100644 --- a/sdk/deviceupdate/azure-mgmt-deviceupdate/_meta.json +++ b/sdk/deviceupdate/azure-mgmt-deviceupdate/_meta.json @@ -4,8 +4,8 @@ "@autorest/python@6.0.1", "@autorest/modelerfour@4.23.5" ], - "commit": "b23f35dfc3ceee0a84c1380b02bcfdfa7f23049c", + "commit": "da92c5a89570661aaca6a9167e49f1035dbbedd8", "repository_url": "https://github.com/Azure/azure-rest-api-specs", - "autorest_command": "autorest specification/deviceupdate/resource-manager/readme.md --models-mode=msrest --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.0.1 --use=@autorest/modelerfour@4.23.5 --version=3.8.4 --version-tolerant=False", + "autorest_command": "autorest specification/deviceupdate/resource-manager/readme.md --models-mode=msrest --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/python@6.0.1 --use=@autorest/modelerfour@4.23.5 --version=3.8.4 --version-tolerant=False", "readme": "specification/deviceupdate/resource-manager/readme.md" } \ No newline at end of file diff --git a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/_device_update_mgmt_client.py b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/_device_update_mgmt_client.py index 15bb15a9fd13..5eb5dddf3da0 100644 --- a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/_device_update_mgmt_client.py +++ b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/_device_update_mgmt_client.py @@ -36,21 +36,21 @@ class DeviceUpdateMgmtClient( """Microsoft Device Update resource provider. :ivar accounts: AccountsOperations operations - :vartype accounts: deviceupdatemgmtclient.operations.AccountsOperations + :vartype accounts: azure.mgmt.deviceupdate.operations.AccountsOperations :ivar instances: InstancesOperations operations - :vartype instances: deviceupdatemgmtclient.operations.InstancesOperations + :vartype instances: azure.mgmt.deviceupdate.operations.InstancesOperations :ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations :vartype private_endpoint_connections: - deviceupdatemgmtclient.operations.PrivateEndpointConnectionsOperations + azure.mgmt.deviceupdate.operations.PrivateEndpointConnectionsOperations :ivar private_link_resources: PrivateLinkResourcesOperations operations :vartype private_link_resources: - deviceupdatemgmtclient.operations.PrivateLinkResourcesOperations + azure.mgmt.deviceupdate.operations.PrivateLinkResourcesOperations :ivar private_endpoint_connection_proxies: PrivateEndpointConnectionProxiesOperations operations :vartype private_endpoint_connection_proxies: - deviceupdatemgmtclient.operations.PrivateEndpointConnectionProxiesOperations + azure.mgmt.deviceupdate.operations.PrivateEndpointConnectionProxiesOperations :ivar operations: Operations operations - :vartype operations: deviceupdatemgmtclient.operations.Operations + :vartype operations: azure.mgmt.deviceupdate.operations.Operations :param credential: Credential needed for the client to connect to Azure. Required. :type credential: ~azure.core.credentials.TokenCredential :param subscription_id: The Azure subscription ID. Required. diff --git a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/_version.py b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/_version.py index 9cf33092d41b..e5754a47ce68 100644 --- a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/_version.py +++ b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "1.0.0b5" +VERSION = "1.0.0b1" diff --git a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/_device_update_mgmt_client.py b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/_device_update_mgmt_client.py index 0576969c3aa5..6783256122a0 100644 --- a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/_device_update_mgmt_client.py +++ b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/_device_update_mgmt_client.py @@ -36,21 +36,21 @@ class DeviceUpdateMgmtClient( """Microsoft Device Update resource provider. :ivar accounts: AccountsOperations operations - :vartype accounts: deviceupdatemgmtclient.aio.operations.AccountsOperations + :vartype accounts: azure.mgmt.deviceupdate.aio.operations.AccountsOperations :ivar instances: InstancesOperations operations - :vartype instances: deviceupdatemgmtclient.aio.operations.InstancesOperations + :vartype instances: azure.mgmt.deviceupdate.aio.operations.InstancesOperations :ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations :vartype private_endpoint_connections: - deviceupdatemgmtclient.aio.operations.PrivateEndpointConnectionsOperations + azure.mgmt.deviceupdate.aio.operations.PrivateEndpointConnectionsOperations :ivar private_link_resources: PrivateLinkResourcesOperations operations :vartype private_link_resources: - deviceupdatemgmtclient.aio.operations.PrivateLinkResourcesOperations + azure.mgmt.deviceupdate.aio.operations.PrivateLinkResourcesOperations :ivar private_endpoint_connection_proxies: PrivateEndpointConnectionProxiesOperations operations :vartype private_endpoint_connection_proxies: - deviceupdatemgmtclient.aio.operations.PrivateEndpointConnectionProxiesOperations + azure.mgmt.deviceupdate.aio.operations.PrivateEndpointConnectionProxiesOperations :ivar operations: Operations operations - :vartype operations: deviceupdatemgmtclient.aio.operations.Operations + :vartype operations: azure.mgmt.deviceupdate.aio.operations.Operations :param credential: Credential needed for the client to connect to Azure. Required. :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: The Azure subscription ID. Required. diff --git a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/operations/_accounts_operations.py b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/operations/_accounts_operations.py index 7a3202a28a78..41d27c188145 100644 --- a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/operations/_accounts_operations.py +++ b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/operations/_accounts_operations.py @@ -50,7 +50,7 @@ class AccountsOperations: **DO NOT** instantiate this class directly. Instead, you should access the following operations through - :class:`~deviceupdatemgmtclient.aio.DeviceUpdateMgmtClient`'s + :class:`~azure.mgmt.deviceupdate.aio.DeviceUpdateMgmtClient`'s :attr:`accounts` attribute. """ @@ -69,7 +69,7 @@ def list_by_subscription(self, **kwargs: Any) -> AsyncIterable["_models.Account" :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either Account or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~deviceupdatemgmtclient.models.Account] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.deviceupdate.models.Account] :raises ~azure.core.exceptions.HttpResponseError: """ _headers = kwargs.pop("headers", {}) or {} @@ -139,7 +139,7 @@ def list_by_resource_group(self, resource_group_name: str, **kwargs: Any) -> Asy :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either Account or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~deviceupdatemgmtclient.models.Account] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.deviceupdate.models.Account] :raises ~azure.core.exceptions.HttpResponseError: """ _headers = kwargs.pop("headers", {}) or {} @@ -212,7 +212,7 @@ async def get(self, resource_group_name: str, account_name: str, **kwargs: Any) :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Account or the result of cls(response) - :rtype: ~deviceupdatemgmtclient.models.Account + :rtype: ~azure.mgmt.deviceupdate.models.Account :raises ~azure.core.exceptions.HttpResponseError: """ error_map = {401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError} @@ -380,7 +380,7 @@ async def begin_create( :param account_name: Account name. Required. :type account_name: str :param account: Account details. Required. - :type account: ~deviceupdatemgmtclient.models.Account + :type account: ~azure.mgmt.deviceupdate.models.Account :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -394,7 +394,7 @@ async def begin_create( Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Account or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~deviceupdatemgmtclient.models.Account] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.deviceupdate.models.Account] :raises ~azure.core.exceptions.HttpResponseError: """ @@ -429,7 +429,7 @@ async def begin_create( Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Account or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~deviceupdatemgmtclient.models.Account] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.deviceupdate.models.Account] :raises ~azure.core.exceptions.HttpResponseError: """ @@ -444,7 +444,7 @@ async def begin_create( :param account_name: Account name. Required. :type account_name: str :param account: Account details. Is either a model type or a IO type. Required. - :type account: ~deviceupdatemgmtclient.models.Account or IO + :type account: ~azure.mgmt.deviceupdate.models.Account or IO :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. Default value is None. :paramtype content_type: str @@ -458,7 +458,7 @@ async def begin_create( Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Account or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~deviceupdatemgmtclient.models.Account] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.deviceupdate.models.Account] :raises ~azure.core.exceptions.HttpResponseError: """ _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -694,7 +694,7 @@ async def begin_update( :param account_name: Account name. Required. :type account_name: str :param account_update_payload: Updated Account. Required. - :type account_update_payload: ~deviceupdatemgmtclient.models.AccountUpdate + :type account_update_payload: ~azure.mgmt.deviceupdate.models.AccountUpdate :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -708,7 +708,7 @@ async def begin_update( Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Account or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~deviceupdatemgmtclient.models.Account] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.deviceupdate.models.Account] :raises ~azure.core.exceptions.HttpResponseError: """ @@ -743,7 +743,7 @@ async def begin_update( Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Account or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~deviceupdatemgmtclient.models.Account] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.deviceupdate.models.Account] :raises ~azure.core.exceptions.HttpResponseError: """ @@ -762,7 +762,7 @@ async def begin_update( :param account_name: Account name. Required. :type account_name: str :param account_update_payload: Updated Account. Is either a model type or a IO type. Required. - :type account_update_payload: ~deviceupdatemgmtclient.models.AccountUpdate or IO + :type account_update_payload: ~azure.mgmt.deviceupdate.models.AccountUpdate or IO :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. Default value is None. :paramtype content_type: str @@ -776,7 +776,7 @@ async def begin_update( Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Account or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~deviceupdatemgmtclient.models.Account] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.deviceupdate.models.Account] :raises ~azure.core.exceptions.HttpResponseError: """ _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) diff --git a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/operations/_device_update_mgmt_client_operations.py b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/operations/_device_update_mgmt_client_operations.py index e74ccedd2225..f907f4ed13f4 100644 --- a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/operations/_device_update_mgmt_client_operations.py +++ b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/operations/_device_update_mgmt_client_operations.py @@ -39,13 +39,13 @@ async def check_name_availability( """Checks ADU resource name availability. :param request: Check Name Availability Request. Required. - :type request: ~deviceupdatemgmtclient.models.CheckNameAvailabilityRequest + :type request: ~azure.mgmt.deviceupdate.models.CheckNameAvailabilityRequest :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResponse or the result of cls(response) - :rtype: ~deviceupdatemgmtclient.models.CheckNameAvailabilityResponse + :rtype: ~azure.mgmt.deviceupdate.models.CheckNameAvailabilityResponse :raises ~azure.core.exceptions.HttpResponseError: """ @@ -62,7 +62,7 @@ async def check_name_availability( :paramtype content_type: str :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResponse or the result of cls(response) - :rtype: ~deviceupdatemgmtclient.models.CheckNameAvailabilityResponse + :rtype: ~azure.mgmt.deviceupdate.models.CheckNameAvailabilityResponse :raises ~azure.core.exceptions.HttpResponseError: """ @@ -73,13 +73,13 @@ async def check_name_availability( """Checks ADU resource name availability. :param request: Check Name Availability Request. Is either a model type or a IO type. Required. - :type request: ~deviceupdatemgmtclient.models.CheckNameAvailabilityRequest or IO + :type request: ~azure.mgmt.deviceupdate.models.CheckNameAvailabilityRequest or IO :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. Default value is None. :paramtype content_type: str :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResponse or the result of cls(response) - :rtype: ~deviceupdatemgmtclient.models.CheckNameAvailabilityResponse + :rtype: ~azure.mgmt.deviceupdate.models.CheckNameAvailabilityResponse :raises ~azure.core.exceptions.HttpResponseError: """ error_map = {401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError} diff --git a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/operations/_instances_operations.py b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/operations/_instances_operations.py index 232cc117e271..205c055b5fd7 100644 --- a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/operations/_instances_operations.py +++ b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/operations/_instances_operations.py @@ -49,7 +49,7 @@ class InstancesOperations: **DO NOT** instantiate this class directly. Instead, you should access the following operations through - :class:`~deviceupdatemgmtclient.aio.DeviceUpdateMgmtClient`'s + :class:`~azure.mgmt.deviceupdate.aio.DeviceUpdateMgmtClient`'s :attr:`instances` attribute. """ @@ -74,7 +74,7 @@ def list_by_account( :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either Instance or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~deviceupdatemgmtclient.models.Instance] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.deviceupdate.models.Instance] :raises ~azure.core.exceptions.HttpResponseError: """ _headers = kwargs.pop("headers", {}) or {} @@ -152,7 +152,7 @@ async def get( :type instance_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Instance or the result of cls(response) - :rtype: ~deviceupdatemgmtclient.models.Instance + :rtype: ~azure.mgmt.deviceupdate.models.Instance :raises ~azure.core.exceptions.HttpResponseError: """ error_map = {401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError} @@ -333,7 +333,7 @@ async def begin_create( :param instance_name: Instance name. Required. :type instance_name: str :param instance: Instance details. Required. - :type instance: ~deviceupdatemgmtclient.models.Instance + :type instance: ~azure.mgmt.deviceupdate.models.Instance :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -347,7 +347,7 @@ async def begin_create( Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Instance or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~deviceupdatemgmtclient.models.Instance] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.deviceupdate.models.Instance] :raises ~azure.core.exceptions.HttpResponseError: """ @@ -385,7 +385,7 @@ async def begin_create( Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Instance or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~deviceupdatemgmtclient.models.Instance] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.deviceupdate.models.Instance] :raises ~azure.core.exceptions.HttpResponseError: """ @@ -407,7 +407,7 @@ async def begin_create( :param instance_name: Instance name. Required. :type instance_name: str :param instance: Instance details. Is either a model type or a IO type. Required. - :type instance: ~deviceupdatemgmtclient.models.Instance or IO + :type instance: ~azure.mgmt.deviceupdate.models.Instance or IO :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. Default value is None. :paramtype content_type: str @@ -421,7 +421,7 @@ async def begin_create( Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Instance or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~deviceupdatemgmtclient.models.Instance] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.deviceupdate.models.Instance] :raises ~azure.core.exceptions.HttpResponseError: """ _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -603,13 +603,13 @@ async def update( :param instance_name: Instance name. Required. :type instance_name: str :param tag_update_payload: Updated tags. Required. - :type tag_update_payload: ~deviceupdatemgmtclient.models.TagUpdate + :type tag_update_payload: ~azure.mgmt.deviceupdate.models.TagUpdate :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Instance or the result of cls(response) - :rtype: ~deviceupdatemgmtclient.models.Instance + :rtype: ~azure.mgmt.deviceupdate.models.Instance :raises ~azure.core.exceptions.HttpResponseError: """ @@ -639,7 +639,7 @@ async def update( :paramtype content_type: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Instance or the result of cls(response) - :rtype: ~deviceupdatemgmtclient.models.Instance + :rtype: ~azure.mgmt.deviceupdate.models.Instance :raises ~azure.core.exceptions.HttpResponseError: """ @@ -661,13 +661,13 @@ async def update( :param instance_name: Instance name. Required. :type instance_name: str :param tag_update_payload: Updated tags. Is either a model type or a IO type. Required. - :type tag_update_payload: ~deviceupdatemgmtclient.models.TagUpdate or IO + :type tag_update_payload: ~azure.mgmt.deviceupdate.models.TagUpdate or IO :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. Default value is None. :paramtype content_type: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Instance or the result of cls(response) - :rtype: ~deviceupdatemgmtclient.models.Instance + :rtype: ~azure.mgmt.deviceupdate.models.Instance :raises ~azure.core.exceptions.HttpResponseError: """ error_map = {401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError} diff --git a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/operations/_operations.py b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/operations/_operations.py index cea67db56e06..f07f541b3bac 100644 --- a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/operations/_operations.py +++ b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/operations/_operations.py @@ -39,7 +39,7 @@ class Operations: **DO NOT** instantiate this class directly. Instead, you should access the following operations through - :class:`~deviceupdatemgmtclient.aio.DeviceUpdateMgmtClient`'s + :class:`~azure.mgmt.deviceupdate.aio.DeviceUpdateMgmtClient`'s :attr:`operations` attribute. """ @@ -58,7 +58,7 @@ def list(self, **kwargs: Any) -> AsyncIterable["_models.Operation"]: :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either Operation or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~deviceupdatemgmtclient.models.Operation] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.deviceupdate.models.Operation] :raises ~azure.core.exceptions.HttpResponseError: """ _headers = kwargs.pop("headers", {}) or {} diff --git a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/operations/_private_endpoint_connection_proxies_operations.py b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/operations/_private_endpoint_connection_proxies_operations.py index 95572c6502d2..cd8ce4f814d0 100644 --- a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/operations/_private_endpoint_connection_proxies_operations.py +++ b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/operations/_private_endpoint_connection_proxies_operations.py @@ -49,7 +49,7 @@ class PrivateEndpointConnectionProxiesOperations: **DO NOT** instantiate this class directly. Instead, you should access the following operations through - :class:`~deviceupdatemgmtclient.aio.DeviceUpdateMgmtClient`'s + :class:`~azure.mgmt.deviceupdate.aio.DeviceUpdateMgmtClient`'s :attr:`private_endpoint_connection_proxies` attribute. """ @@ -77,7 +77,7 @@ def list_by_account( :return: An iterator like instance of either PrivateEndpointConnectionProxy or the result of cls(response) :rtype: - ~azure.core.async_paging.AsyncItemPaged[~deviceupdatemgmtclient.models.PrivateEndpointConnectionProxy] + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.deviceupdate.models.PrivateEndpointConnectionProxy] :raises ~azure.core.exceptions.HttpResponseError: """ _headers = kwargs.pop("headers", {}) or {} @@ -164,7 +164,7 @@ async def validate( # pylint: disable=inconsistent-return-statements :param private_endpoint_connection_proxy: The parameters for creating a private endpoint connection proxy. Required. :type private_endpoint_connection_proxy: - ~deviceupdatemgmtclient.models.PrivateEndpointConnectionProxy + ~azure.mgmt.deviceupdate.models.PrivateEndpointConnectionProxy :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -227,7 +227,7 @@ async def validate( # pylint: disable=inconsistent-return-statements :param private_endpoint_connection_proxy: The parameters for creating a private endpoint connection proxy. Is either a model type or a IO type. Required. :type private_endpoint_connection_proxy: - ~deviceupdatemgmtclient.models.PrivateEndpointConnectionProxy or IO + ~azure.mgmt.deviceupdate.models.PrivateEndpointConnectionProxy or IO :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. Default value is None. :paramtype content_type: str @@ -309,7 +309,7 @@ async def update_private_endpoint_properties( # pylint: disable=inconsistent-re :type private_endpoint_connection_proxy_id: str :param private_endpoint_update: The parameters for updating a private endpoint connection proxy. Required. - :type private_endpoint_update: ~deviceupdatemgmtclient.models.PrivateEndpointUpdate + :type private_endpoint_update: ~azure.mgmt.deviceupdate.models.PrivateEndpointUpdate :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -373,7 +373,7 @@ async def update_private_endpoint_properties( # pylint: disable=inconsistent-re :type private_endpoint_connection_proxy_id: str :param private_endpoint_update: The parameters for updating a private endpoint connection proxy. Is either a model type or a IO type. Required. - :type private_endpoint_update: ~deviceupdatemgmtclient.models.PrivateEndpointUpdate or IO + :type private_endpoint_update: ~azure.mgmt.deviceupdate.models.PrivateEndpointUpdate or IO :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. Default value is None. :paramtype content_type: str @@ -448,7 +448,7 @@ async def get( :type private_endpoint_connection_proxy_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateEndpointConnectionProxy or the result of cls(response) - :rtype: ~deviceupdatemgmtclient.models.PrivateEndpointConnectionProxy + :rtype: ~azure.mgmt.deviceupdate.models.PrivateEndpointConnectionProxy :raises ~azure.core.exceptions.HttpResponseError: """ error_map = {401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError} @@ -579,7 +579,7 @@ async def begin_create_or_update( :param private_endpoint_connection_proxy: The parameters for creating a private endpoint connection proxy. Required. :type private_endpoint_connection_proxy: - ~deviceupdatemgmtclient.models.PrivateEndpointConnectionProxy + ~azure.mgmt.deviceupdate.models.PrivateEndpointConnectionProxy :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -594,7 +594,7 @@ async def begin_create_or_update( :return: An instance of AsyncLROPoller that returns either PrivateEndpointConnectionProxy or the result of cls(response) :rtype: - ~azure.core.polling.AsyncLROPoller[~deviceupdatemgmtclient.models.PrivateEndpointConnectionProxy] + ~azure.core.polling.AsyncLROPoller[~azure.mgmt.deviceupdate.models.PrivateEndpointConnectionProxy] :raises ~azure.core.exceptions.HttpResponseError: """ @@ -636,7 +636,7 @@ async def begin_create_or_update( :return: An instance of AsyncLROPoller that returns either PrivateEndpointConnectionProxy or the result of cls(response) :rtype: - ~azure.core.polling.AsyncLROPoller[~deviceupdatemgmtclient.models.PrivateEndpointConnectionProxy] + ~azure.core.polling.AsyncLROPoller[~azure.mgmt.deviceupdate.models.PrivateEndpointConnectionProxy] :raises ~azure.core.exceptions.HttpResponseError: """ @@ -662,7 +662,7 @@ async def begin_create_or_update( :param private_endpoint_connection_proxy: The parameters for creating a private endpoint connection proxy. Is either a model type or a IO type. Required. :type private_endpoint_connection_proxy: - ~deviceupdatemgmtclient.models.PrivateEndpointConnectionProxy or IO + ~azure.mgmt.deviceupdate.models.PrivateEndpointConnectionProxy or IO :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. Default value is None. :paramtype content_type: str @@ -677,7 +677,7 @@ async def begin_create_or_update( :return: An instance of AsyncLROPoller that returns either PrivateEndpointConnectionProxy or the result of cls(response) :rtype: - ~azure.core.polling.AsyncLROPoller[~deviceupdatemgmtclient.models.PrivateEndpointConnectionProxy] + ~azure.core.polling.AsyncLROPoller[~azure.mgmt.deviceupdate.models.PrivateEndpointConnectionProxy] :raises ~azure.core.exceptions.HttpResponseError: """ _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) diff --git a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/operations/_private_endpoint_connections_operations.py b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/operations/_private_endpoint_connections_operations.py index 147525a9668e..6c36f2a35a7f 100644 --- a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/operations/_private_endpoint_connections_operations.py +++ b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/operations/_private_endpoint_connections_operations.py @@ -47,7 +47,7 @@ class PrivateEndpointConnectionsOperations: **DO NOT** instantiate this class directly. Instead, you should access the following operations through - :class:`~deviceupdatemgmtclient.aio.DeviceUpdateMgmtClient`'s + :class:`~azure.mgmt.deviceupdate.aio.DeviceUpdateMgmtClient`'s :attr:`private_endpoint_connections` attribute. """ @@ -74,7 +74,7 @@ def list_by_account( :return: An iterator like instance of either PrivateEndpointConnection or the result of cls(response) :rtype: - ~azure.core.async_paging.AsyncItemPaged[~deviceupdatemgmtclient.models.PrivateEndpointConnection] + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.deviceupdate.models.PrivateEndpointConnection] :raises ~azure.core.exceptions.HttpResponseError: """ _headers = kwargs.pop("headers", {}) or {} @@ -153,7 +153,7 @@ async def get( :type private_endpoint_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateEndpointConnection or the result of cls(response) - :rtype: ~deviceupdatemgmtclient.models.PrivateEndpointConnection + :rtype: ~azure.mgmt.deviceupdate.models.PrivateEndpointConnection :raises ~azure.core.exceptions.HttpResponseError: """ error_map = {401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError} @@ -283,7 +283,7 @@ async def begin_create_or_update( :type private_endpoint_connection_name: str :param private_endpoint_connection: The parameters for creating a private endpoint connection. Required. - :type private_endpoint_connection: ~deviceupdatemgmtclient.models.PrivateEndpointConnection + :type private_endpoint_connection: ~azure.mgmt.deviceupdate.models.PrivateEndpointConnection :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -298,7 +298,7 @@ async def begin_create_or_update( :return: An instance of AsyncLROPoller that returns either PrivateEndpointConnection or the result of cls(response) :rtype: - ~azure.core.polling.AsyncLROPoller[~deviceupdatemgmtclient.models.PrivateEndpointConnection] + ~azure.core.polling.AsyncLROPoller[~azure.mgmt.deviceupdate.models.PrivateEndpointConnection] :raises ~azure.core.exceptions.HttpResponseError: """ @@ -340,7 +340,7 @@ async def begin_create_or_update( :return: An instance of AsyncLROPoller that returns either PrivateEndpointConnection or the result of cls(response) :rtype: - ~azure.core.polling.AsyncLROPoller[~deviceupdatemgmtclient.models.PrivateEndpointConnection] + ~azure.core.polling.AsyncLROPoller[~azure.mgmt.deviceupdate.models.PrivateEndpointConnection] :raises ~azure.core.exceptions.HttpResponseError: """ @@ -365,7 +365,7 @@ async def begin_create_or_update( :type private_endpoint_connection_name: str :param private_endpoint_connection: The parameters for creating a private endpoint connection. Is either a model type or a IO type. Required. - :type private_endpoint_connection: ~deviceupdatemgmtclient.models.PrivateEndpointConnection or + :type private_endpoint_connection: ~azure.mgmt.deviceupdate.models.PrivateEndpointConnection or IO :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. Default value is None. @@ -381,7 +381,7 @@ async def begin_create_or_update( :return: An instance of AsyncLROPoller that returns either PrivateEndpointConnection or the result of cls(response) :rtype: - ~azure.core.polling.AsyncLROPoller[~deviceupdatemgmtclient.models.PrivateEndpointConnection] + ~azure.core.polling.AsyncLROPoller[~azure.mgmt.deviceupdate.models.PrivateEndpointConnection] :raises ~azure.core.exceptions.HttpResponseError: """ _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) diff --git a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/operations/_private_link_resources_operations.py b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/operations/_private_link_resources_operations.py index 571d45266b27..50f875b6c269 100644 --- a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/operations/_private_link_resources_operations.py +++ b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/aio/operations/_private_link_resources_operations.py @@ -40,7 +40,7 @@ class PrivateLinkResourcesOperations: **DO NOT** instantiate this class directly. Instead, you should access the following operations through - :class:`~deviceupdatemgmtclient.aio.DeviceUpdateMgmtClient`'s + :class:`~azure.mgmt.deviceupdate.aio.DeviceUpdateMgmtClient`'s :attr:`private_link_resources` attribute. """ @@ -66,7 +66,7 @@ def list_by_account( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either GroupInformation or the result of cls(response) :rtype: - ~azure.core.async_paging.AsyncItemPaged[~deviceupdatemgmtclient.models.GroupInformation] + ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.deviceupdate.models.GroupInformation] :raises ~azure.core.exceptions.HttpResponseError: """ _headers = kwargs.pop("headers", {}) or {} @@ -144,7 +144,7 @@ async def get( :type group_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: GroupInformation or the result of cls(response) - :rtype: ~deviceupdatemgmtclient.models.GroupInformation + :rtype: ~azure.mgmt.deviceupdate.models.GroupInformation :raises ~azure.core.exceptions.HttpResponseError: """ error_map = {401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError} diff --git a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/models/_models_py3.py b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/models/_models_py3.py index c77043415454..77cf80a545ff 100644 --- a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/models/_models_py3.py +++ b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/models/_models_py3.py @@ -32,7 +32,7 @@ class Resource(_serialization.Model): :vartype type: str :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy information. - :vartype system_data: ~deviceupdatemgmtclient.models.SystemData + :vartype system_data: ~azure.mgmt.deviceupdate.models.SystemData """ _validation = { @@ -75,7 +75,7 @@ class TrackedResource(Resource): :vartype type: str :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy information. - :vartype system_data: ~deviceupdatemgmtclient.models.SystemData + :vartype system_data: ~azure.mgmt.deviceupdate.models.SystemData :ivar tags: Resource tags. :vartype tags: dict[str, str] :ivar location: The geo-location where the resource lives. Required. @@ -128,29 +128,29 @@ class Account(TrackedResource): # pylint: disable=too-many-instance-attributes :vartype type: str :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy information. - :vartype system_data: ~deviceupdatemgmtclient.models.SystemData + :vartype system_data: ~azure.mgmt.deviceupdate.models.SystemData :ivar tags: Resource tags. :vartype tags: dict[str, str] :ivar location: The geo-location where the resource lives. Required. :vartype location: str :ivar identity: The type of identity used for the resource. - :vartype identity: ~deviceupdatemgmtclient.models.ManagedServiceIdentity + :vartype identity: ~azure.mgmt.deviceupdate.models.ManagedServiceIdentity :ivar provisioning_state: Provisioning state. Known values are: "Succeeded", "Deleted", "Failed", "Canceled", "Accepted", and "Creating". - :vartype provisioning_state: str or ~deviceupdatemgmtclient.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.deviceupdate.models.ProvisioningState :ivar host_name: API host name. :vartype host_name: str :ivar public_network_access: Whether or not public network access is allowed for the account. Known values are: "Enabled" and "Disabled". - :vartype public_network_access: str or ~deviceupdatemgmtclient.models.PublicNetworkAccess + :vartype public_network_access: str or ~azure.mgmt.deviceupdate.models.PublicNetworkAccess :ivar private_endpoint_connections: List of private endpoint connections associated with the account. :vartype private_endpoint_connections: - list[~deviceupdatemgmtclient.models.PrivateEndpointConnection] + list[~azure.mgmt.deviceupdate.models.PrivateEndpointConnection] :ivar sku: Device Update Sku. Known values are: "Free" and "Standard". - :vartype sku: str or ~deviceupdatemgmtclient.models.SKU + :vartype sku: str or ~azure.mgmt.deviceupdate.models.SKU :ivar locations: Device Update account primary and failover location details. - :vartype locations: list[~deviceupdatemgmtclient.models.Location] + :vartype locations: list[~azure.mgmt.deviceupdate.models.Location] """ _validation = { @@ -200,16 +200,16 @@ def __init__( :keyword location: The geo-location where the resource lives. Required. :paramtype location: str :keyword identity: The type of identity used for the resource. - :paramtype identity: ~deviceupdatemgmtclient.models.ManagedServiceIdentity + :paramtype identity: ~azure.mgmt.deviceupdate.models.ManagedServiceIdentity :keyword public_network_access: Whether or not public network access is allowed for the account. Known values are: "Enabled" and "Disabled". - :paramtype public_network_access: str or ~deviceupdatemgmtclient.models.PublicNetworkAccess + :paramtype public_network_access: str or ~azure.mgmt.deviceupdate.models.PublicNetworkAccess :keyword private_endpoint_connections: List of private endpoint connections associated with the account. :paramtype private_endpoint_connections: - list[~deviceupdatemgmtclient.models.PrivateEndpointConnection] + list[~azure.mgmt.deviceupdate.models.PrivateEndpointConnection] :keyword sku: Device Update Sku. Known values are: "Free" and "Standard". - :paramtype sku: str or ~deviceupdatemgmtclient.models.SKU + :paramtype sku: str or ~azure.mgmt.deviceupdate.models.SKU """ super().__init__(tags=tags, location=location, **kwargs) self.identity = identity @@ -227,7 +227,7 @@ class AccountList(_serialization.Model): :ivar next_link: The link used to get the next page of Accounts list. :vartype next_link: str :ivar value: List of Accounts. - :vartype value: list[~deviceupdatemgmtclient.models.Account] + :vartype value: list[~azure.mgmt.deviceupdate.models.Account] """ _attribute_map = { @@ -240,7 +240,7 @@ def __init__(self, *, next_link: Optional[str] = None, value: Optional[List["_mo :keyword next_link: The link used to get the next page of Accounts list. :paramtype next_link: str :keyword value: List of Accounts. - :paramtype value: list[~deviceupdatemgmtclient.models.Account] + :paramtype value: list[~azure.mgmt.deviceupdate.models.Account] """ super().__init__(**kwargs) self.next_link = next_link @@ -276,7 +276,7 @@ class AccountUpdate(TagUpdate): existing tags. :vartype tags: dict[str, str] :ivar identity: The type of identity used for the resource. - :vartype identity: ~deviceupdatemgmtclient.models.ManagedServiceIdentity + :vartype identity: ~azure.mgmt.deviceupdate.models.ManagedServiceIdentity :ivar location: The geo-location where the resource lives. :vartype location: str """ @@ -300,7 +300,7 @@ def __init__( existing tags. :paramtype tags: dict[str, str] :keyword identity: The type of identity used for the resource. - :paramtype identity: ~deviceupdatemgmtclient.models.ManagedServiceIdentity + :paramtype identity: ~azure.mgmt.deviceupdate.models.ManagedServiceIdentity :keyword location: The geo-location where the resource lives. :paramtype location: str """ @@ -342,7 +342,7 @@ class CheckNameAvailabilityResponse(_serialization.Model): :vartype name_available: bool :ivar reason: The reason why the given name is not available. Known values are: "Invalid" and "AlreadyExists". - :vartype reason: str or ~deviceupdatemgmtclient.models.CheckNameAvailabilityReason + :vartype reason: str or ~azure.mgmt.deviceupdate.models.CheckNameAvailabilityReason :ivar message: Detailed reason why the given name is available. :vartype message: str """ @@ -366,7 +366,7 @@ def __init__( :paramtype name_available: bool :keyword reason: The reason why the given name is not available. Known values are: "Invalid" and "AlreadyExists". - :paramtype reason: str or ~deviceupdatemgmtclient.models.CheckNameAvailabilityReason + :paramtype reason: str or ~azure.mgmt.deviceupdate.models.CheckNameAvailabilityReason :keyword message: Detailed reason why the given name is available. :paramtype message: str """ @@ -425,7 +425,7 @@ class DiagnosticStorageProperties(_serialization.Model): All required parameters must be populated in order to send to Azure. :ivar authentication_type: Authentication Type. Required. "KeyBased" - :vartype authentication_type: str or ~deviceupdatemgmtclient.models.AuthenticationType + :vartype authentication_type: str or ~azure.mgmt.deviceupdate.models.AuthenticationType :ivar connection_string: ConnectionString of the diagnostic storage account. :vartype connection_string: str :ivar resource_id: ResourceId of the diagnostic storage account. Required. @@ -453,7 +453,7 @@ def __init__( ): """ :keyword authentication_type: Authentication Type. Required. "KeyBased" - :paramtype authentication_type: str or ~deviceupdatemgmtclient.models.AuthenticationType + :paramtype authentication_type: str or ~azure.mgmt.deviceupdate.models.AuthenticationType :keyword connection_string: ConnectionString of the diagnostic storage account. :paramtype connection_string: str :keyword resource_id: ResourceId of the diagnostic storage account. Required. @@ -505,9 +505,9 @@ class ErrorDetail(_serialization.Model): :ivar target: The error target. :vartype target: str :ivar details: The error details. - :vartype details: list[~deviceupdatemgmtclient.models.ErrorDetail] + :vartype details: list[~azure.mgmt.deviceupdate.models.ErrorDetail] :ivar additional_info: The error additional info. - :vartype additional_info: list[~deviceupdatemgmtclient.models.ErrorAdditionalInfo] + :vartype additional_info: list[~azure.mgmt.deviceupdate.models.ErrorAdditionalInfo] """ _validation = { @@ -540,7 +540,7 @@ class ErrorResponse(_serialization.Model): """Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). :ivar error: The error object. - :vartype error: ~deviceupdatemgmtclient.models.ErrorDetail + :vartype error: ~azure.mgmt.deviceupdate.models.ErrorDetail """ _attribute_map = { @@ -550,7 +550,7 @@ class ErrorResponse(_serialization.Model): def __init__(self, *, error: Optional["_models.ErrorDetail"] = None, **kwargs): """ :keyword error: The error object. - :paramtype error: ~deviceupdatemgmtclient.models.ErrorDetail + :paramtype error: ~azure.mgmt.deviceupdate.models.ErrorDetail """ super().__init__(**kwargs) self.error = error @@ -630,7 +630,7 @@ class ProxyResource(Resource): :vartype type: str :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy information. - :vartype system_data: ~deviceupdatemgmtclient.models.SystemData + :vartype system_data: ~azure.mgmt.deviceupdate.models.SystemData """ _validation = { @@ -667,7 +667,7 @@ class GroupInformation(ProxyResource): :vartype type: str :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy information. - :vartype system_data: ~deviceupdatemgmtclient.models.SystemData + :vartype system_data: ~azure.mgmt.deviceupdate.models.SystemData :ivar group_id: The private link resource group id. :vartype group_id: str :ivar required_members: The private link resource required member names. @@ -676,7 +676,7 @@ class GroupInformation(ProxyResource): :vartype required_zone_names: list[str] :ivar provisioning_state: The provisioning state of private link group ID. Known values are: "Succeeded", "Failed", and "Canceled". - :vartype provisioning_state: str or ~deviceupdatemgmtclient.models.GroupIdProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.deviceupdate.models.GroupIdProvisioningState """ _validation = { @@ -760,7 +760,7 @@ class GroupInformationProperties(PrivateLinkResourceProperties): :vartype required_zone_names: list[str] :ivar provisioning_state: The provisioning state of private link group ID. Known values are: "Succeeded", "Failed", and "Canceled". - :vartype provisioning_state: str or ~deviceupdatemgmtclient.models.GroupIdProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.deviceupdate.models.GroupIdProvisioningState """ _validation = { @@ -802,24 +802,24 @@ class Instance(TrackedResource): # pylint: disable=too-many-instance-attributes :vartype type: str :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy information. - :vartype system_data: ~deviceupdatemgmtclient.models.SystemData + :vartype system_data: ~azure.mgmt.deviceupdate.models.SystemData :ivar tags: Resource tags. :vartype tags: dict[str, str] :ivar location: The geo-location where the resource lives. Required. :vartype location: str :ivar provisioning_state: Provisioning state. Known values are: "Succeeded", "Deleted", "Failed", "Canceled", "Accepted", and "Creating". - :vartype provisioning_state: str or ~deviceupdatemgmtclient.models.ProvisioningState + :vartype provisioning_state: str or ~azure.mgmt.deviceupdate.models.ProvisioningState :ivar account_name: Parent Device Update Account name which Instance belongs to. :vartype account_name: str :ivar iot_hubs: List of IoT Hubs associated with the account. - :vartype iot_hubs: list[~deviceupdatemgmtclient.models.IotHubSettings] + :vartype iot_hubs: list[~azure.mgmt.deviceupdate.models.IotHubSettings] :ivar enable_diagnostics: Enables or Disables the diagnostic logs collection. :vartype enable_diagnostics: bool :ivar diagnostic_storage_properties: Customer-initiated diagnostic log collection storage properties. :vartype diagnostic_storage_properties: - ~deviceupdatemgmtclient.models.DiagnosticStorageProperties + ~azure.mgmt.deviceupdate.models.DiagnosticStorageProperties """ _validation = { @@ -865,13 +865,13 @@ def __init__( :keyword location: The geo-location where the resource lives. Required. :paramtype location: str :keyword iot_hubs: List of IoT Hubs associated with the account. - :paramtype iot_hubs: list[~deviceupdatemgmtclient.models.IotHubSettings] + :paramtype iot_hubs: list[~azure.mgmt.deviceupdate.models.IotHubSettings] :keyword enable_diagnostics: Enables or Disables the diagnostic logs collection. :paramtype enable_diagnostics: bool :keyword diagnostic_storage_properties: Customer-initiated diagnostic log collection storage properties. :paramtype diagnostic_storage_properties: - ~deviceupdatemgmtclient.models.DiagnosticStorageProperties + ~azure.mgmt.deviceupdate.models.DiagnosticStorageProperties """ super().__init__(tags=tags, location=location, **kwargs) self.provisioning_state = None @@ -887,7 +887,7 @@ class InstanceList(_serialization.Model): :ivar next_link: The link used to get the next page of Instances list. :vartype next_link: str :ivar value: List of Instances. - :vartype value: list[~deviceupdatemgmtclient.models.Instance] + :vartype value: list[~azure.mgmt.deviceupdate.models.Instance] """ _attribute_map = { @@ -900,7 +900,7 @@ def __init__(self, *, next_link: Optional[str] = None, value: Optional[List["_mo :keyword next_link: The link used to get the next page of Instances list. :paramtype next_link: str :keyword value: List of Instances. - :paramtype value: list[~deviceupdatemgmtclient.models.Instance] + :paramtype value: list[~azure.mgmt.deviceupdate.models.Instance] """ super().__init__(**kwargs) self.next_link = next_link @@ -940,7 +940,7 @@ class Location(_serialization.Model): :vartype name: str :ivar role: Whether the location is primary or failover. Known values are: "Primary" and "Failover". - :vartype role: str or ~deviceupdatemgmtclient.models.Role + :vartype role: str or ~azure.mgmt.deviceupdate.models.Role """ _attribute_map = { @@ -954,7 +954,7 @@ def __init__(self, *, name: Optional[str] = None, role: Union[str, "_models.Role :paramtype name: str :keyword role: Whether the location is primary or failover. Known values are: "Primary" and "Failover". - :paramtype role: str or ~deviceupdatemgmtclient.models.Role + :paramtype role: str or ~azure.mgmt.deviceupdate.models.Role """ super().__init__(**kwargs) self.name = name @@ -977,13 +977,13 @@ class ManagedServiceIdentity(_serialization.Model): :ivar type: Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). Required. Known values are: "None", "SystemAssigned", "UserAssigned", and "SystemAssigned,UserAssigned". - :vartype type: str or ~deviceupdatemgmtclient.models.ManagedServiceIdentityType + :vartype type: str or ~azure.mgmt.deviceupdate.models.ManagedServiceIdentityType :ivar user_assigned_identities: The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. :vartype user_assigned_identities: dict[str, - ~deviceupdatemgmtclient.models.UserAssignedIdentity] + ~azure.mgmt.deviceupdate.models.UserAssignedIdentity] """ _validation = { @@ -1010,13 +1010,13 @@ def __init__( :keyword type: Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). Required. Known values are: "None", "SystemAssigned", "UserAssigned", and "SystemAssigned,UserAssigned". - :paramtype type: str or ~deviceupdatemgmtclient.models.ManagedServiceIdentityType + :paramtype type: str or ~azure.mgmt.deviceupdate.models.ManagedServiceIdentityType :keyword user_assigned_identities: The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. :paramtype user_assigned_identities: dict[str, - ~deviceupdatemgmtclient.models.UserAssignedIdentity] + ~azure.mgmt.deviceupdate.models.UserAssignedIdentity] """ super().__init__(**kwargs) self.principal_id = None @@ -1037,14 +1037,14 @@ class Operation(_serialization.Model): data-plane operations and "false" for ARM/control-plane operations. :vartype is_data_action: bool :ivar display: Localized display information for this particular operation. - :vartype display: ~deviceupdatemgmtclient.models.OperationDisplay + :vartype display: ~azure.mgmt.deviceupdate.models.OperationDisplay :ivar origin: The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system". Known values are: "user", "system", and "user,system". - :vartype origin: str or ~deviceupdatemgmtclient.models.Origin + :vartype origin: str or ~azure.mgmt.deviceupdate.models.Origin :ivar action_type: Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. "Internal" - :vartype action_type: str or ~deviceupdatemgmtclient.models.ActionType + :vartype action_type: str or ~azure.mgmt.deviceupdate.models.ActionType """ _validation = { @@ -1065,7 +1065,7 @@ class Operation(_serialization.Model): def __init__(self, *, display: Optional["_models.OperationDisplay"] = None, **kwargs): """ :keyword display: Localized display information for this particular operation. - :paramtype display: ~deviceupdatemgmtclient.models.OperationDisplay + :paramtype display: ~azure.mgmt.deviceupdate.models.OperationDisplay """ super().__init__(**kwargs) self.name = None @@ -1123,7 +1123,7 @@ class OperationListResult(_serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: List of operations supported by the resource provider. - :vartype value: list[~deviceupdatemgmtclient.models.Operation] + :vartype value: list[~azure.mgmt.deviceupdate.models.Operation] :ivar next_link: URL to get the next set of operation list results (if there are any). :vartype next_link: str """ @@ -1185,19 +1185,19 @@ class PrivateEndpointConnection(Resource): :vartype type: str :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy information. - :vartype system_data: ~deviceupdatemgmtclient.models.SystemData + :vartype system_data: ~azure.mgmt.deviceupdate.models.SystemData :ivar private_endpoint: The resource of private end point. - :vartype private_endpoint: ~deviceupdatemgmtclient.models.PrivateEndpoint + :vartype private_endpoint: ~azure.mgmt.deviceupdate.models.PrivateEndpoint :ivar private_link_service_connection_state: A collection of information about the state of the connection between service consumer and provider. Required. :vartype private_link_service_connection_state: - ~deviceupdatemgmtclient.models.PrivateLinkServiceConnectionState + ~azure.mgmt.deviceupdate.models.PrivateLinkServiceConnectionState :ivar group_ids: Array of group IDs. :vartype group_ids: list[str] :ivar provisioning_state: The provisioning state of the private endpoint connection resource. Known values are: "Succeeded", "Creating", "Deleting", and "Failed". :vartype provisioning_state: str or - ~deviceupdatemgmtclient.models.PrivateEndpointConnectionProvisioningState + ~azure.mgmt.deviceupdate.models.PrivateEndpointConnectionProvisioningState """ _validation = { @@ -1233,11 +1233,11 @@ def __init__( ): """ :keyword private_endpoint: The resource of private end point. - :paramtype private_endpoint: ~deviceupdatemgmtclient.models.PrivateEndpoint + :paramtype private_endpoint: ~azure.mgmt.deviceupdate.models.PrivateEndpoint :keyword private_link_service_connection_state: A collection of information about the state of the connection between service consumer and provider. Required. :paramtype private_link_service_connection_state: - ~deviceupdatemgmtclient.models.PrivateLinkServiceConnectionState + ~azure.mgmt.deviceupdate.models.PrivateLinkServiceConnectionState :keyword group_ids: Array of group IDs. :paramtype group_ids: list[str] """ @@ -1252,7 +1252,7 @@ class PrivateEndpointConnectionListResult(_serialization.Model): """List of private endpoint connection associated with the specified storage account. :ivar value: Array of private endpoint connections. - :vartype value: list[~deviceupdatemgmtclient.models.PrivateEndpointConnection] + :vartype value: list[~azure.mgmt.deviceupdate.models.PrivateEndpointConnection] """ _attribute_map = { @@ -1262,7 +1262,7 @@ class PrivateEndpointConnectionListResult(_serialization.Model): def __init__(self, *, value: Optional[List["_models.PrivateEndpointConnection"]] = None, **kwargs): """ :keyword value: Array of private endpoint connections. - :paramtype value: list[~deviceupdatemgmtclient.models.PrivateEndpointConnection] + :paramtype value: list[~azure.mgmt.deviceupdate.models.PrivateEndpointConnection] """ super().__init__(**kwargs) self.value = value @@ -1276,7 +1276,7 @@ class PrivateEndpointConnectionProxyProperties(_serialization.Model): :ivar e_tag: ETag from NRP. :vartype e_tag: str :ivar remote_private_endpoint: Remote private endpoint details. - :vartype remote_private_endpoint: ~deviceupdatemgmtclient.models.RemotePrivateEndpoint + :vartype remote_private_endpoint: ~azure.mgmt.deviceupdate.models.RemotePrivateEndpoint :ivar status: Operation status. :vartype status: str """ @@ -1300,7 +1300,7 @@ def __init__( ): """ :keyword remote_private_endpoint: Remote private endpoint details. - :paramtype remote_private_endpoint: ~deviceupdatemgmtclient.models.RemotePrivateEndpoint + :paramtype remote_private_endpoint: ~azure.mgmt.deviceupdate.models.RemotePrivateEndpoint :keyword status: Operation status. :paramtype status: str """ @@ -1318,7 +1318,7 @@ class PrivateEndpointConnectionProxy(ProxyResource, PrivateEndpointConnectionPro :ivar e_tag: ETag from NRP. :vartype e_tag: str :ivar remote_private_endpoint: Remote private endpoint details. - :vartype remote_private_endpoint: ~deviceupdatemgmtclient.models.RemotePrivateEndpoint + :vartype remote_private_endpoint: ~azure.mgmt.deviceupdate.models.RemotePrivateEndpoint :ivar status: Operation status. :vartype status: str :ivar id: Fully qualified resource ID for the resource. Ex - @@ -1331,11 +1331,11 @@ class PrivateEndpointConnectionProxy(ProxyResource, PrivateEndpointConnectionPro :vartype type: str :ivar system_data: Azure Resource Manager metadata containing createdBy and modifiedBy information. - :vartype system_data: ~deviceupdatemgmtclient.models.SystemData + :vartype system_data: ~azure.mgmt.deviceupdate.models.SystemData :ivar provisioning_state: The provisioning state of the private endpoint connection proxy resource. Known values are: "Succeeded", "Creating", "Deleting", and "Failed". :vartype provisioning_state: str or - ~deviceupdatemgmtclient.models.PrivateEndpointConnectionProxyProvisioningState + ~azure.mgmt.deviceupdate.models.PrivateEndpointConnectionProxyProvisioningState """ _validation = { @@ -1367,7 +1367,7 @@ def __init__( ): """ :keyword remote_private_endpoint: Remote private endpoint details. - :paramtype remote_private_endpoint: ~deviceupdatemgmtclient.models.RemotePrivateEndpoint + :paramtype remote_private_endpoint: ~azure.mgmt.deviceupdate.models.RemotePrivateEndpoint :keyword status: Operation status. :paramtype status: str """ @@ -1386,7 +1386,7 @@ class PrivateEndpointConnectionProxyListResult(_serialization.Model): """The available private endpoint connection proxies for an Account (not to be used by anyone, here because of ARM requirements). :ivar value: The list of available private endpoint connection proxies for an Account. - :vartype value: list[~deviceupdatemgmtclient.models.PrivateEndpointConnectionProxy] + :vartype value: list[~azure.mgmt.deviceupdate.models.PrivateEndpointConnectionProxy] :ivar next_link: The URI that can be used to request the next list of private endpoint connection proxies. :vartype next_link: str @@ -1406,7 +1406,7 @@ def __init__( ): """ :keyword value: The list of available private endpoint connection proxies for an Account. - :paramtype value: list[~deviceupdatemgmtclient.models.PrivateEndpointConnectionProxy] + :paramtype value: list[~azure.mgmt.deviceupdate.models.PrivateEndpointConnectionProxy] :keyword next_link: The URI that can be used to request the next list of private endpoint connection proxies. :paramtype next_link: str @@ -1473,7 +1473,7 @@ class PrivateLinkResourceListResult(_serialization.Model): """The available private link resources for an Account. :ivar value: The list of available private link resources for an Account. - :vartype value: list[~deviceupdatemgmtclient.models.GroupInformation] + :vartype value: list[~azure.mgmt.deviceupdate.models.GroupInformation] :ivar next_link: The URI that can be used to request the next list of private link resources. :vartype next_link: str """ @@ -1488,7 +1488,7 @@ def __init__( ): """ :keyword value: The list of available private link resources for an Account. - :paramtype value: list[~deviceupdatemgmtclient.models.GroupInformation] + :paramtype value: list[~azure.mgmt.deviceupdate.models.GroupInformation] :keyword next_link: The URI that can be used to request the next list of private link resources. :paramtype next_link: str @@ -1542,7 +1542,7 @@ class PrivateLinkServiceConnectionState(_serialization.Model): :ivar status: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. Known values are: "Pending", "Approved", and "Rejected". - :vartype status: str or ~deviceupdatemgmtclient.models.PrivateEndpointServiceConnectionStatus + :vartype status: str or ~azure.mgmt.deviceupdate.models.PrivateEndpointServiceConnectionStatus :ivar description: The reason for approval/rejection of the connection. :vartype description: str :ivar actions_required: A message indicating if changes on the service provider require any @@ -1567,7 +1567,8 @@ def __init__( """ :keyword status: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. Known values are: "Pending", "Approved", and "Rejected". - :paramtype status: str or ~deviceupdatemgmtclient.models.PrivateEndpointServiceConnectionStatus + :paramtype status: str or + ~azure.mgmt.deviceupdate.models.PrivateEndpointServiceConnectionStatus :keyword description: The reason for approval/rejection of the connection. :paramtype description: str :keyword actions_required: A message indicating if changes on the service provider require any @@ -1588,13 +1589,13 @@ class PrivateLinkServiceProxy(_serialization.Model): :ivar remote_private_link_service_connection_state: Remote private link service connection state. :vartype remote_private_link_service_connection_state: - ~deviceupdatemgmtclient.models.PrivateLinkServiceConnectionState + ~azure.mgmt.deviceupdate.models.PrivateLinkServiceConnectionState :ivar remote_private_endpoint_connection: Remote private endpoint connection details. :vartype remote_private_endpoint_connection: - ~deviceupdatemgmtclient.models.PrivateLinkServiceProxyRemotePrivateEndpointConnection + ~azure.mgmt.deviceupdate.models.PrivateLinkServiceProxyRemotePrivateEndpointConnection :ivar group_connectivity_information: Group connectivity information. :vartype group_connectivity_information: - list[~deviceupdatemgmtclient.models.GroupConnectivityInformation] + list[~azure.mgmt.deviceupdate.models.GroupConnectivityInformation] """ _attribute_map = { @@ -1630,13 +1631,13 @@ def __init__( :keyword remote_private_link_service_connection_state: Remote private link service connection state. :paramtype remote_private_link_service_connection_state: - ~deviceupdatemgmtclient.models.PrivateLinkServiceConnectionState + ~azure.mgmt.deviceupdate.models.PrivateLinkServiceConnectionState :keyword remote_private_endpoint_connection: Remote private endpoint connection details. :paramtype remote_private_endpoint_connection: - ~deviceupdatemgmtclient.models.PrivateLinkServiceProxyRemotePrivateEndpointConnection + ~azure.mgmt.deviceupdate.models.PrivateLinkServiceProxyRemotePrivateEndpointConnection :keyword group_connectivity_information: Group connectivity information. :paramtype group_connectivity_information: - list[~deviceupdatemgmtclient.models.GroupConnectivityInformation] + list[~azure.mgmt.deviceupdate.models.GroupConnectivityInformation] """ super().__init__(**kwargs) self.id = id @@ -1706,16 +1707,16 @@ class RemotePrivateEndpoint(_serialization.Model): :ivar manual_private_link_service_connections: List of private link service connections that need manual approval. :vartype manual_private_link_service_connections: - list[~deviceupdatemgmtclient.models.PrivateLinkServiceConnection] + list[~azure.mgmt.deviceupdate.models.PrivateLinkServiceConnection] :ivar private_link_service_connections: List of automatically approved private link service connections. :vartype private_link_service_connections: - list[~deviceupdatemgmtclient.models.PrivateLinkServiceConnection] + list[~azure.mgmt.deviceupdate.models.PrivateLinkServiceConnection] :ivar private_link_service_proxies: List of private link service proxies. :vartype private_link_service_proxies: - list[~deviceupdatemgmtclient.models.PrivateLinkServiceProxy] + list[~azure.mgmt.deviceupdate.models.PrivateLinkServiceProxy] :ivar connection_details: List of connection details. - :vartype connection_details: list[~deviceupdatemgmtclient.models.ConnectionDetails] + :vartype connection_details: list[~azure.mgmt.deviceupdate.models.ConnectionDetails] """ _attribute_map = { @@ -1764,16 +1765,16 @@ def __init__( :keyword manual_private_link_service_connections: List of private link service connections that need manual approval. :paramtype manual_private_link_service_connections: - list[~deviceupdatemgmtclient.models.PrivateLinkServiceConnection] + list[~azure.mgmt.deviceupdate.models.PrivateLinkServiceConnection] :keyword private_link_service_connections: List of automatically approved private link service connections. :paramtype private_link_service_connections: - list[~deviceupdatemgmtclient.models.PrivateLinkServiceConnection] + list[~azure.mgmt.deviceupdate.models.PrivateLinkServiceConnection] :keyword private_link_service_proxies: List of private link service proxies. :paramtype private_link_service_proxies: - list[~deviceupdatemgmtclient.models.PrivateLinkServiceProxy] + list[~azure.mgmt.deviceupdate.models.PrivateLinkServiceProxy] :keyword connection_details: List of connection details. - :paramtype connection_details: list[~deviceupdatemgmtclient.models.ConnectionDetails] + :paramtype connection_details: list[~azure.mgmt.deviceupdate.models.ConnectionDetails] """ super().__init__(**kwargs) self.id = id @@ -1794,14 +1795,14 @@ class SystemData(_serialization.Model): :vartype created_by: str :ivar created_by_type: The type of identity that created the resource. Known values are: "User", "Application", "ManagedIdentity", and "Key". - :vartype created_by_type: str or ~deviceupdatemgmtclient.models.CreatedByType + :vartype created_by_type: str or ~azure.mgmt.deviceupdate.models.CreatedByType :ivar created_at: The timestamp of resource creation (UTC). :vartype created_at: ~datetime.datetime :ivar last_modified_by: The identity that last modified the resource. :vartype last_modified_by: str :ivar last_modified_by_type: The type of identity that last modified the resource. Known values are: "User", "Application", "ManagedIdentity", and "Key". - :vartype last_modified_by_type: str or ~deviceupdatemgmtclient.models.CreatedByType + :vartype last_modified_by_type: str or ~azure.mgmt.deviceupdate.models.CreatedByType :ivar last_modified_at: The timestamp of resource last modification (UTC). :vartype last_modified_at: ~datetime.datetime """ @@ -1831,14 +1832,14 @@ def __init__( :paramtype created_by: str :keyword created_by_type: The type of identity that created the resource. Known values are: "User", "Application", "ManagedIdentity", and "Key". - :paramtype created_by_type: str or ~deviceupdatemgmtclient.models.CreatedByType + :paramtype created_by_type: str or ~azure.mgmt.deviceupdate.models.CreatedByType :keyword created_at: The timestamp of resource creation (UTC). :paramtype created_at: ~datetime.datetime :keyword last_modified_by: The identity that last modified the resource. :paramtype last_modified_by: str :keyword last_modified_by_type: The type of identity that last modified the resource. Known values are: "User", "Application", "ManagedIdentity", and "Key". - :paramtype last_modified_by_type: str or ~deviceupdatemgmtclient.models.CreatedByType + :paramtype last_modified_by_type: str or ~azure.mgmt.deviceupdate.models.CreatedByType :keyword last_modified_at: The timestamp of resource last modification (UTC). :paramtype last_modified_at: ~datetime.datetime """ diff --git a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/operations/_accounts_operations.py b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/operations/_accounts_operations.py index 2dca429e0add..9704eb5a90aa 100644 --- a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/operations/_accounts_operations.py +++ b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/operations/_accounts_operations.py @@ -262,7 +262,7 @@ class AccountsOperations: **DO NOT** instantiate this class directly. Instead, you should access the following operations through - :class:`~deviceupdatemgmtclient.DeviceUpdateMgmtClient`'s + :class:`~azure.mgmt.deviceupdate.DeviceUpdateMgmtClient`'s :attr:`accounts` attribute. """ @@ -281,7 +281,7 @@ def list_by_subscription(self, **kwargs: Any) -> Iterable["_models.Account"]: :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either Account or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~deviceupdatemgmtclient.models.Account] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.deviceupdate.models.Account] :raises ~azure.core.exceptions.HttpResponseError: """ _headers = kwargs.pop("headers", {}) or {} @@ -351,7 +351,7 @@ def list_by_resource_group(self, resource_group_name: str, **kwargs: Any) -> Ite :type resource_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either Account or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~deviceupdatemgmtclient.models.Account] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.deviceupdate.models.Account] :raises ~azure.core.exceptions.HttpResponseError: """ _headers = kwargs.pop("headers", {}) or {} @@ -424,7 +424,7 @@ def get(self, resource_group_name: str, account_name: str, **kwargs: Any) -> _mo :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Account or the result of cls(response) - :rtype: ~deviceupdatemgmtclient.models.Account + :rtype: ~azure.mgmt.deviceupdate.models.Account :raises ~azure.core.exceptions.HttpResponseError: """ error_map = {401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError} @@ -592,7 +592,7 @@ def begin_create( :param account_name: Account name. Required. :type account_name: str :param account: Account details. Required. - :type account: ~deviceupdatemgmtclient.models.Account + :type account: ~azure.mgmt.deviceupdate.models.Account :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -605,7 +605,7 @@ def begin_create( :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 Account or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~deviceupdatemgmtclient.models.Account] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.deviceupdate.models.Account] :raises ~azure.core.exceptions.HttpResponseError: """ @@ -639,7 +639,7 @@ def begin_create( :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 Account or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~deviceupdatemgmtclient.models.Account] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.deviceupdate.models.Account] :raises ~azure.core.exceptions.HttpResponseError: """ @@ -654,7 +654,7 @@ def begin_create( :param account_name: Account name. Required. :type account_name: str :param account: Account details. Is either a model type or a IO type. Required. - :type account: ~deviceupdatemgmtclient.models.Account or IO + :type account: ~azure.mgmt.deviceupdate.models.Account or IO :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. Default value is None. :paramtype content_type: str @@ -667,7 +667,7 @@ def begin_create( :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 Account or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~deviceupdatemgmtclient.models.Account] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.deviceupdate.models.Account] :raises ~azure.core.exceptions.HttpResponseError: """ _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -902,7 +902,7 @@ def begin_update( :param account_name: Account name. Required. :type account_name: str :param account_update_payload: Updated Account. Required. - :type account_update_payload: ~deviceupdatemgmtclient.models.AccountUpdate + :type account_update_payload: ~azure.mgmt.deviceupdate.models.AccountUpdate :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -915,7 +915,7 @@ def begin_update( :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 Account or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~deviceupdatemgmtclient.models.Account] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.deviceupdate.models.Account] :raises ~azure.core.exceptions.HttpResponseError: """ @@ -949,7 +949,7 @@ def begin_update( :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 Account or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~deviceupdatemgmtclient.models.Account] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.deviceupdate.models.Account] :raises ~azure.core.exceptions.HttpResponseError: """ @@ -968,7 +968,7 @@ def begin_update( :param account_name: Account name. Required. :type account_name: str :param account_update_payload: Updated Account. Is either a model type or a IO type. Required. - :type account_update_payload: ~deviceupdatemgmtclient.models.AccountUpdate or IO + :type account_update_payload: ~azure.mgmt.deviceupdate.models.AccountUpdate or IO :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. Default value is None. :paramtype content_type: str @@ -981,7 +981,7 @@ def begin_update( :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 Account or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~deviceupdatemgmtclient.models.Account] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.deviceupdate.models.Account] :raises ~azure.core.exceptions.HttpResponseError: """ _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) diff --git a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/operations/_device_update_mgmt_client_operations.py b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/operations/_device_update_mgmt_client_operations.py index 75df07833e97..682ea8ab456d 100644 --- a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/operations/_device_update_mgmt_client_operations.py +++ b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/operations/_device_update_mgmt_client_operations.py @@ -70,13 +70,13 @@ def check_name_availability( """Checks ADU resource name availability. :param request: Check Name Availability Request. Required. - :type request: ~deviceupdatemgmtclient.models.CheckNameAvailabilityRequest + :type request: ~azure.mgmt.deviceupdate.models.CheckNameAvailabilityRequest :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResponse or the result of cls(response) - :rtype: ~deviceupdatemgmtclient.models.CheckNameAvailabilityResponse + :rtype: ~azure.mgmt.deviceupdate.models.CheckNameAvailabilityResponse :raises ~azure.core.exceptions.HttpResponseError: """ @@ -93,7 +93,7 @@ def check_name_availability( :paramtype content_type: str :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResponse or the result of cls(response) - :rtype: ~deviceupdatemgmtclient.models.CheckNameAvailabilityResponse + :rtype: ~azure.mgmt.deviceupdate.models.CheckNameAvailabilityResponse :raises ~azure.core.exceptions.HttpResponseError: """ @@ -104,13 +104,13 @@ def check_name_availability( """Checks ADU resource name availability. :param request: Check Name Availability Request. Is either a model type or a IO type. Required. - :type request: ~deviceupdatemgmtclient.models.CheckNameAvailabilityRequest or IO + :type request: ~azure.mgmt.deviceupdate.models.CheckNameAvailabilityRequest or IO :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. Default value is None. :paramtype content_type: str :keyword callable cls: A custom type or function that will be passed the direct response :return: CheckNameAvailabilityResponse or the result of cls(response) - :rtype: ~deviceupdatemgmtclient.models.CheckNameAvailabilityResponse + :rtype: ~azure.mgmt.deviceupdate.models.CheckNameAvailabilityResponse :raises ~azure.core.exceptions.HttpResponseError: """ error_map = {401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError} diff --git a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/operations/_instances_operations.py b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/operations/_instances_operations.py index 547e87e36007..a8637b1902b0 100644 --- a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/operations/_instances_operations.py +++ b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/operations/_instances_operations.py @@ -287,7 +287,7 @@ class InstancesOperations: **DO NOT** instantiate this class directly. Instead, you should access the following operations through - :class:`~deviceupdatemgmtclient.DeviceUpdateMgmtClient`'s + :class:`~azure.mgmt.deviceupdate.DeviceUpdateMgmtClient`'s :attr:`instances` attribute. """ @@ -312,7 +312,7 @@ def list_by_account( :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either Instance or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~deviceupdatemgmtclient.models.Instance] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.deviceupdate.models.Instance] :raises ~azure.core.exceptions.HttpResponseError: """ _headers = kwargs.pop("headers", {}) or {} @@ -388,7 +388,7 @@ def get(self, resource_group_name: str, account_name: str, instance_name: str, * :type instance_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Instance or the result of cls(response) - :rtype: ~deviceupdatemgmtclient.models.Instance + :rtype: ~azure.mgmt.deviceupdate.models.Instance :raises ~azure.core.exceptions.HttpResponseError: """ error_map = {401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError} @@ -569,7 +569,7 @@ def begin_create( :param instance_name: Instance name. Required. :type instance_name: str :param instance: Instance details. Required. - :type instance: ~deviceupdatemgmtclient.models.Instance + :type instance: ~azure.mgmt.deviceupdate.models.Instance :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -582,7 +582,7 @@ def begin_create( :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 Instance or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~deviceupdatemgmtclient.models.Instance] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.deviceupdate.models.Instance] :raises ~azure.core.exceptions.HttpResponseError: """ @@ -619,7 +619,7 @@ def begin_create( :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 Instance or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~deviceupdatemgmtclient.models.Instance] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.deviceupdate.models.Instance] :raises ~azure.core.exceptions.HttpResponseError: """ @@ -641,7 +641,7 @@ def begin_create( :param instance_name: Instance name. Required. :type instance_name: str :param instance: Instance details. Is either a model type or a IO type. Required. - :type instance: ~deviceupdatemgmtclient.models.Instance or IO + :type instance: ~azure.mgmt.deviceupdate.models.Instance or IO :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. Default value is None. :paramtype content_type: str @@ -654,7 +654,7 @@ def begin_create( :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 Instance or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~deviceupdatemgmtclient.models.Instance] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.deviceupdate.models.Instance] :raises ~azure.core.exceptions.HttpResponseError: """ _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) @@ -835,13 +835,13 @@ def update( :param instance_name: Instance name. Required. :type instance_name: str :param tag_update_payload: Updated tags. Required. - :type tag_update_payload: ~deviceupdatemgmtclient.models.TagUpdate + :type tag_update_payload: ~azure.mgmt.deviceupdate.models.TagUpdate :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Instance or the result of cls(response) - :rtype: ~deviceupdatemgmtclient.models.Instance + :rtype: ~azure.mgmt.deviceupdate.models.Instance :raises ~azure.core.exceptions.HttpResponseError: """ @@ -871,7 +871,7 @@ def update( :paramtype content_type: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Instance or the result of cls(response) - :rtype: ~deviceupdatemgmtclient.models.Instance + :rtype: ~azure.mgmt.deviceupdate.models.Instance :raises ~azure.core.exceptions.HttpResponseError: """ @@ -893,13 +893,13 @@ def update( :param instance_name: Instance name. Required. :type instance_name: str :param tag_update_payload: Updated tags. Is either a model type or a IO type. Required. - :type tag_update_payload: ~deviceupdatemgmtclient.models.TagUpdate or IO + :type tag_update_payload: ~azure.mgmt.deviceupdate.models.TagUpdate or IO :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. Default value is None. :paramtype content_type: str :keyword callable cls: A custom type or function that will be passed the direct response :return: Instance or the result of cls(response) - :rtype: ~deviceupdatemgmtclient.models.Instance + :rtype: ~azure.mgmt.deviceupdate.models.Instance :raises ~azure.core.exceptions.HttpResponseError: """ error_map = {401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError} diff --git a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/operations/_operations.py b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/operations/_operations.py index 2d5911681ba3..b0e5ef6821c3 100644 --- a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/operations/_operations.py +++ b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/operations/_operations.py @@ -60,7 +60,7 @@ class Operations: **DO NOT** instantiate this class directly. Instead, you should access the following operations through - :class:`~deviceupdatemgmtclient.DeviceUpdateMgmtClient`'s + :class:`~azure.mgmt.deviceupdate.DeviceUpdateMgmtClient`'s :attr:`operations` attribute. """ @@ -79,7 +79,7 @@ def list(self, **kwargs: Any) -> Iterable["_models.Operation"]: :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either Operation or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~deviceupdatemgmtclient.models.Operation] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.deviceupdate.models.Operation] :raises ~azure.core.exceptions.HttpResponseError: """ _headers = kwargs.pop("headers", {}) or {} diff --git a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/operations/_private_endpoint_connection_proxies_operations.py b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/operations/_private_endpoint_connection_proxies_operations.py index 86a15414e274..dfe1da9a23f7 100644 --- a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/operations/_private_endpoint_connection_proxies_operations.py +++ b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/operations/_private_endpoint_connection_proxies_operations.py @@ -285,7 +285,7 @@ class PrivateEndpointConnectionProxiesOperations: **DO NOT** instantiate this class directly. Instead, you should access the following operations through - :class:`~deviceupdatemgmtclient.DeviceUpdateMgmtClient`'s + :class:`~azure.mgmt.deviceupdate.DeviceUpdateMgmtClient`'s :attr:`private_endpoint_connection_proxies` attribute. """ @@ -313,7 +313,7 @@ def list_by_account( :return: An iterator like instance of either PrivateEndpointConnectionProxy or the result of cls(response) :rtype: - ~azure.core.paging.ItemPaged[~deviceupdatemgmtclient.models.PrivateEndpointConnectionProxy] + ~azure.core.paging.ItemPaged[~azure.mgmt.deviceupdate.models.PrivateEndpointConnectionProxy] :raises ~azure.core.exceptions.HttpResponseError: """ _headers = kwargs.pop("headers", {}) or {} @@ -400,7 +400,7 @@ def validate( # pylint: disable=inconsistent-return-statements :param private_endpoint_connection_proxy: The parameters for creating a private endpoint connection proxy. Required. :type private_endpoint_connection_proxy: - ~deviceupdatemgmtclient.models.PrivateEndpointConnectionProxy + ~azure.mgmt.deviceupdate.models.PrivateEndpointConnectionProxy :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -463,7 +463,7 @@ def validate( # pylint: disable=inconsistent-return-statements :param private_endpoint_connection_proxy: The parameters for creating a private endpoint connection proxy. Is either a model type or a IO type. Required. :type private_endpoint_connection_proxy: - ~deviceupdatemgmtclient.models.PrivateEndpointConnectionProxy or IO + ~azure.mgmt.deviceupdate.models.PrivateEndpointConnectionProxy or IO :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. Default value is None. :paramtype content_type: str @@ -545,7 +545,7 @@ def update_private_endpoint_properties( # pylint: disable=inconsistent-return-s :type private_endpoint_connection_proxy_id: str :param private_endpoint_update: The parameters for updating a private endpoint connection proxy. Required. - :type private_endpoint_update: ~deviceupdatemgmtclient.models.PrivateEndpointUpdate + :type private_endpoint_update: ~azure.mgmt.deviceupdate.models.PrivateEndpointUpdate :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -609,7 +609,7 @@ def update_private_endpoint_properties( # pylint: disable=inconsistent-return-s :type private_endpoint_connection_proxy_id: str :param private_endpoint_update: The parameters for updating a private endpoint connection proxy. Is either a model type or a IO type. Required. - :type private_endpoint_update: ~deviceupdatemgmtclient.models.PrivateEndpointUpdate or IO + :type private_endpoint_update: ~azure.mgmt.deviceupdate.models.PrivateEndpointUpdate or IO :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. Default value is None. :paramtype content_type: str @@ -684,7 +684,7 @@ def get( :type private_endpoint_connection_proxy_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateEndpointConnectionProxy or the result of cls(response) - :rtype: ~deviceupdatemgmtclient.models.PrivateEndpointConnectionProxy + :rtype: ~azure.mgmt.deviceupdate.models.PrivateEndpointConnectionProxy :raises ~azure.core.exceptions.HttpResponseError: """ error_map = {401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError} @@ -815,7 +815,7 @@ def begin_create_or_update( :param private_endpoint_connection_proxy: The parameters for creating a private endpoint connection proxy. Required. :type private_endpoint_connection_proxy: - ~deviceupdatemgmtclient.models.PrivateEndpointConnectionProxy + ~azure.mgmt.deviceupdate.models.PrivateEndpointConnectionProxy :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -830,7 +830,7 @@ def begin_create_or_update( :return: An instance of LROPoller that returns either PrivateEndpointConnectionProxy or the result of cls(response) :rtype: - ~azure.core.polling.LROPoller[~deviceupdatemgmtclient.models.PrivateEndpointConnectionProxy] + ~azure.core.polling.LROPoller[~azure.mgmt.deviceupdate.models.PrivateEndpointConnectionProxy] :raises ~azure.core.exceptions.HttpResponseError: """ @@ -872,7 +872,7 @@ def begin_create_or_update( :return: An instance of LROPoller that returns either PrivateEndpointConnectionProxy or the result of cls(response) :rtype: - ~azure.core.polling.LROPoller[~deviceupdatemgmtclient.models.PrivateEndpointConnectionProxy] + ~azure.core.polling.LROPoller[~azure.mgmt.deviceupdate.models.PrivateEndpointConnectionProxy] :raises ~azure.core.exceptions.HttpResponseError: """ @@ -898,7 +898,7 @@ def begin_create_or_update( :param private_endpoint_connection_proxy: The parameters for creating a private endpoint connection proxy. Is either a model type or a IO type. Required. :type private_endpoint_connection_proxy: - ~deviceupdatemgmtclient.models.PrivateEndpointConnectionProxy or IO + ~azure.mgmt.deviceupdate.models.PrivateEndpointConnectionProxy or IO :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. Default value is None. :paramtype content_type: str @@ -913,7 +913,7 @@ def begin_create_or_update( :return: An instance of LROPoller that returns either PrivateEndpointConnectionProxy or the result of cls(response) :rtype: - ~azure.core.polling.LROPoller[~deviceupdatemgmtclient.models.PrivateEndpointConnectionProxy] + ~azure.core.polling.LROPoller[~azure.mgmt.deviceupdate.models.PrivateEndpointConnectionProxy] :raises ~azure.core.exceptions.HttpResponseError: """ _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) diff --git a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/operations/_private_endpoint_connections_operations.py b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/operations/_private_endpoint_connections_operations.py index 82048b1ee3ba..feadf0f79387 100644 --- a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/operations/_private_endpoint_connections_operations.py +++ b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/operations/_private_endpoint_connections_operations.py @@ -199,7 +199,7 @@ class PrivateEndpointConnectionsOperations: **DO NOT** instantiate this class directly. Instead, you should access the following operations through - :class:`~deviceupdatemgmtclient.DeviceUpdateMgmtClient`'s + :class:`~azure.mgmt.deviceupdate.DeviceUpdateMgmtClient`'s :attr:`private_endpoint_connections` attribute. """ @@ -225,7 +225,7 @@ def list_by_account( :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either PrivateEndpointConnection or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~deviceupdatemgmtclient.models.PrivateEndpointConnection] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.deviceupdate.models.PrivateEndpointConnection] :raises ~azure.core.exceptions.HttpResponseError: """ _headers = kwargs.pop("headers", {}) or {} @@ -304,7 +304,7 @@ def get( :type private_endpoint_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: PrivateEndpointConnection or the result of cls(response) - :rtype: ~deviceupdatemgmtclient.models.PrivateEndpointConnection + :rtype: ~azure.mgmt.deviceupdate.models.PrivateEndpointConnection :raises ~azure.core.exceptions.HttpResponseError: """ error_map = {401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError} @@ -434,7 +434,7 @@ def begin_create_or_update( :type private_endpoint_connection_name: str :param private_endpoint_connection: The parameters for creating a private endpoint connection. Required. - :type private_endpoint_connection: ~deviceupdatemgmtclient.models.PrivateEndpointConnection + :type private_endpoint_connection: ~azure.mgmt.deviceupdate.models.PrivateEndpointConnection :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -448,7 +448,8 @@ def begin_create_or_update( Retry-After header is present. :return: An instance of LROPoller that returns either PrivateEndpointConnection or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~deviceupdatemgmtclient.models.PrivateEndpointConnection] + :rtype: + ~azure.core.polling.LROPoller[~azure.mgmt.deviceupdate.models.PrivateEndpointConnection] :raises ~azure.core.exceptions.HttpResponseError: """ @@ -489,7 +490,8 @@ def begin_create_or_update( Retry-After header is present. :return: An instance of LROPoller that returns either PrivateEndpointConnection or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~deviceupdatemgmtclient.models.PrivateEndpointConnection] + :rtype: + ~azure.core.polling.LROPoller[~azure.mgmt.deviceupdate.models.PrivateEndpointConnection] :raises ~azure.core.exceptions.HttpResponseError: """ @@ -514,7 +516,7 @@ def begin_create_or_update( :type private_endpoint_connection_name: str :param private_endpoint_connection: The parameters for creating a private endpoint connection. Is either a model type or a IO type. Required. - :type private_endpoint_connection: ~deviceupdatemgmtclient.models.PrivateEndpointConnection or + :type private_endpoint_connection: ~azure.mgmt.deviceupdate.models.PrivateEndpointConnection or IO :keyword content_type: Body Parameter content-type. Known values are: 'application/json'. Default value is None. @@ -529,7 +531,8 @@ def begin_create_or_update( Retry-After header is present. :return: An instance of LROPoller that returns either PrivateEndpointConnection or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~deviceupdatemgmtclient.models.PrivateEndpointConnection] + :rtype: + ~azure.core.polling.LROPoller[~azure.mgmt.deviceupdate.models.PrivateEndpointConnection] :raises ~azure.core.exceptions.HttpResponseError: """ _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) diff --git a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/operations/_private_link_resources_operations.py b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/operations/_private_link_resources_operations.py index 9bb067dc3f67..aee46e76d17a 100644 --- a/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/operations/_private_link_resources_operations.py +++ b/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate/operations/_private_link_resources_operations.py @@ -108,7 +108,7 @@ class PrivateLinkResourcesOperations: **DO NOT** instantiate this class directly. Instead, you should access the following operations through - :class:`~deviceupdatemgmtclient.DeviceUpdateMgmtClient`'s + :class:`~azure.mgmt.deviceupdate.DeviceUpdateMgmtClient`'s :attr:`private_link_resources` attribute. """ @@ -133,7 +133,7 @@ def list_by_account( :type account_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either GroupInformation or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~deviceupdatemgmtclient.models.GroupInformation] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.deviceupdate.models.GroupInformation] :raises ~azure.core.exceptions.HttpResponseError: """ _headers = kwargs.pop("headers", {}) or {} @@ -211,7 +211,7 @@ def get( :type group_id: str :keyword callable cls: A custom type or function that will be passed the direct response :return: GroupInformation or the result of cls(response) - :rtype: ~deviceupdatemgmtclient.models.GroupInformation + :rtype: ~azure.mgmt.deviceupdate.models.GroupInformation :raises ~azure.core.exceptions.HttpResponseError: """ error_map = {401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError}