Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR track2_azure-mgmt-iothubprovisioningservices] dps - mgmt, java, directive to rename model #5748

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
9 changes: 6 additions & 3 deletions sdk/iothub/azure-mgmt-iothubprovisioningservices/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"autorest": "3.4.2",
"use": "@autorest/[email protected]",
"commit": "51d02bcb2421ebf41e0380f0c1542b07badd01b3",
"use": [
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"commit": "07fcc3ff77d8e4692de634b79802ca374ddceeee",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/deviceprovisioningservices/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.6.6 --version=3.4.2",
"autorest_command": "autorest specification/deviceprovisioningservices/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.0 --use=@autorest/[email protected] --version=3.4.2",
"readme": "specification/deviceprovisioningservices/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ async def get(
resource_group_name: str,
provisioning_service_name: str,
if_match: Optional[str] = None,
**kwargs
**kwargs: Any
) -> "_models.CertificateResponse":
"""Get the certificate from the provisioning service.

Expand Down Expand Up @@ -117,7 +117,7 @@ async def create_or_update(
certificate_name: str,
certificate_description: "_models.CertificateBodyDescription",
if_match: Optional[str] = None,
**kwargs
**kwargs: Any
) -> "_models.CertificateResponse":
"""Upload the certificate to the provisioning service.

Expand Down Expand Up @@ -203,7 +203,7 @@ async def delete(
certificate_last_updated: Optional[datetime.datetime] = None,
certificate_has_private_key: Optional[bool] = None,
certificate_nonce: Optional[str] = None,
**kwargs
**kwargs: Any
) -> None:
"""Delete the Provisioning Service Certificate.

Expand Down Expand Up @@ -301,7 +301,7 @@ async def list(
self,
resource_group_name: str,
provisioning_service_name: str,
**kwargs
**kwargs: Any
) -> "_models.CertificateListDescription":
"""Get all the certificates tied to the provisioning service.

Expand Down Expand Up @@ -370,7 +370,7 @@ async def generate_verification_code(
certificate_last_updated: Optional[datetime.datetime] = None,
certificate_has_private_key: Optional[bool] = None,
certificate_nonce: Optional[str] = None,
**kwargs
**kwargs: Any
) -> "_models.VerificationCodeResponse":
"""Generate verification code for Proof of Possession.

Expand Down Expand Up @@ -481,7 +481,7 @@ async def verify_certificate(
certificate_last_updated: Optional[datetime.datetime] = None,
certificate_has_private_key: Optional[bool] = None,
certificate_nonce: Optional[str] = None,
**kwargs
**kwargs: Any
) -> "_models.CertificateResponse":
"""Verify certificate's private key possession.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ async def get(
self,
provisioning_service_name: str,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> "_models.ProvisioningServiceDescription":
"""Get the non-security related metadata of the provisioning service.

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

Expand All @@ -183,8 +183,8 @@ async def begin_create_or_update(
:type iot_dps_description: ~azure.mgmt.iothubprovisioningservices.models.ProvisioningServiceDescription
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be AsyncARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either ProvisioningServiceDescription or the result of cls(response)
Expand Down Expand Up @@ -242,7 +242,7 @@ async def _update_initial(
resource_group_name: str,
provisioning_service_name: str,
provisioning_service_tags: "_models.TagsResource",
**kwargs
**kwargs: Any
) -> "_models.ProvisioningServiceDescription":
cls = kwargs.pop('cls', None) # type: ClsType["_models.ProvisioningServiceDescription"]
error_map = {
Expand Down Expand Up @@ -295,7 +295,7 @@ async def begin_update(
resource_group_name: str,
provisioning_service_name: str,
provisioning_service_tags: "_models.TagsResource",
**kwargs
**kwargs: Any
) -> AsyncLROPoller["_models.ProvisioningServiceDescription"]:
"""Update an existing provisioning service's tags.

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

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

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

Expand Down Expand Up @@ -548,7 +548,7 @@ async def get_next(next_link=None):
def list_by_resource_group(
self,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.ProvisioningServiceDescriptionListResult"]:
"""Get a list of all provisioning services in the given resource group.

Expand Down Expand Up @@ -622,7 +622,7 @@ async def get_operation_result(
resource_group_name: str,
provisioning_service_name: str,
asyncinfo: str = "true",
**kwargs
**kwargs: Any
) -> "_models.AsyncOperationResult":
"""Gets the status of a long running operation, such as create, update or delete a provisioning
service.
Expand Down Expand Up @@ -691,7 +691,7 @@ def list_valid_skus(
self,
provisioning_service_name: str,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.IotDpsSkuDefinitionListResult"]:
"""Get the list of valid SKUs for a provisioning service.

Expand Down Expand Up @@ -767,7 +767,7 @@ async def get_next(next_link=None):
async def check_provisioning_service_name_availability(
self,
arguments: "_models.OperationInputs",
**kwargs
**kwargs: Any
) -> "_models.NameAvailabilityInfo":
"""Check if a provisioning service name is available.

Expand Down Expand Up @@ -831,7 +831,7 @@ def list_keys(
self,
provisioning_service_name: str,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.SharedAccessSignatureAuthorizationRuleListResult"]:
"""Get the security metadata for a provisioning service.

Expand Down Expand Up @@ -910,7 +910,7 @@ async def list_keys_for_key_name(
provisioning_service_name: str,
key_name: str,
resource_group_name: str,
**kwargs
**kwargs: Any
) -> "_models.SharedAccessSignatureAuthorizationRuleAccessRightsDescription":
"""Get a shared access policy by name from a provisioning service.

Expand Down Expand Up @@ -975,7 +975,7 @@ async def list_private_link_resources(
self,
resource_group_name: str,
resource_name: str,
**kwargs
**kwargs: Any
) -> "_models.PrivateLinkResources":
"""List private link resources.

Expand Down Expand Up @@ -1038,7 +1038,7 @@ async def get_private_link_resources(
resource_group_name: str,
resource_name: str,
group_id: str,
**kwargs
**kwargs: Any
) -> "_models.GroupIdInformation":
"""Get the specified private link resource.

Expand Down Expand Up @@ -1103,7 +1103,7 @@ async def list_private_endpoint_connections(
self,
resource_group_name: str,
resource_name: str,
**kwargs
**kwargs: Any
) -> List["_models.PrivateEndpointConnection"]:
"""List private endpoint connections.

Expand Down Expand Up @@ -1166,7 +1166,7 @@ async def get_private_endpoint_connection(
resource_group_name: str,
resource_name: str,
private_endpoint_connection_name: str,
**kwargs
**kwargs: Any
) -> "_models.PrivateEndpointConnection":
"""Get private endpoint connection.

Expand Down Expand Up @@ -1233,7 +1233,7 @@ async def _create_or_update_private_endpoint_connection_initial(
resource_name: str,
private_endpoint_connection_name: str,
private_endpoint_connection: "_models.PrivateEndpointConnection",
**kwargs
**kwargs: Any
) -> "_models.PrivateEndpointConnection":
cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnection"]
error_map = {
Expand Down Expand Up @@ -1293,7 +1293,7 @@ async def begin_create_or_update_private_endpoint_connection(
resource_name: str,
private_endpoint_connection_name: str,
private_endpoint_connection: "_models.PrivateEndpointConnection",
**kwargs
**kwargs: Any
) -> AsyncLROPoller["_models.PrivateEndpointConnection"]:
"""Create or update private endpoint connection.

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

Expand All @@ -1441,8 +1441,8 @@ async def begin_delete_private_endpoint_connection(
:type private_endpoint_connection_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be AsyncARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either PrivateEndpointConnection or the result of cls(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None:

def list(
self,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.OperationListResult"]:
"""Lists all of the available Microsoft.Devices REST API operations.

Expand Down
Loading