Azure Device Update for IoT Hub for Java
see https://aka.ms/autorest
Fork and clone https: //github.com /Azure/autorest.java
git checkout main
git submodule update --init --recursive
mvn package -Dlocal
npm install
npm install -g autorest
cd < sw agg er- fol der >
autorest --java --use=C: /work/autorest.java
input-file : https://raw.githubusercontent.com/Azure/azure-rest-api-specs/d7c9be23749467be1aea18f02ba2f4948a39db6a/specification/deviceupdate/data-plane/Microsoft.DeviceUpdate/stable/2022-10-01/deviceupdate.json
java : true
output-folder : ../
regenerate-pom : false
title : DeviceUpdateClient
generate-sync-async-clients : true
generate-client-as-impl : true
generate-client-interfaces : false
service-interface-as-public : true
add-context-parameter : true
artifact-id : azure-iot-deviceupdate
data-plane : true
sync-methods : all
generate-samples : true
license-header : MICROSOFT_MIT_SMALL
namespace : com.azure.iot.deviceupdate
service-name : DeviceUpdate
context-client-method-parameter : true
azure-arm : false
credential-types : tokencredential
credential-scopes : https://api.adu.microsoft.com/.default
service-versions :
- ' 2022-10-01'
polling :
default :
strategy : >-
new OperationResourcePollingStrategyWithEndpoint<>({httpPipeline}, "https://" + this.client.getEndpoint(), null, null, {context})