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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sdk/deviceupdate/azure-mgmt-deviceupdate/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "1.0.0b5"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""

Expand All @@ -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 {}
Expand Down Expand Up @@ -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 {}
Expand Down Expand Up @@ -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}
Expand Down Expand Up @@ -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
Expand All @@ -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:
"""

Expand Down Expand Up @@ -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:
"""

Expand All @@ -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
Expand All @@ -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 {})
Expand Down Expand Up @@ -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
Expand All @@ -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:
"""

Expand Down Expand Up @@ -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:
"""

Expand All @@ -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
Expand All @@ -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 {})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
"""

Expand All @@ -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:
"""

Expand All @@ -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}
Expand Down
Loading