Skip to content
Merged
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
30 changes: 0 additions & 30 deletions sdk/deviceupdate/azure-iot-deviceupdate/config.yaml

This file was deleted.

11 changes: 7 additions & 4 deletions sdk/deviceupdate/azure-iot-deviceupdate/swagger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@ autorest --java --use=C:/work/autorest.java

## Generate autorest code
```yaml
input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/d7c9be23749467be1aea18f02ba2f4948a39db6a/specification/deviceupdate/data-plane/Microsoft.DeviceUpdate/stable/2022-10-01/deviceupdate.json
use: '@autorest/java@4.1.17'
input-file: https://github.com/Azure/azure-rest-api-specs/blob/main/specification/deviceupdate/data-plane/Microsoft.DeviceUpdate/stable/2022-10-01/deviceupdate.json
java: true
output-folder: ../
output-folder: ./
enable-sync-stack: true
generate-tests: true
regenerate-pom: false
title: DeviceUpdateClient
generate-sync-async-clients: true
Expand All @@ -42,9 +45,9 @@ azure-arm: false
credential-types: tokencredential
credential-scopes: https://api.adu.microsoft.com/.default
service-versions:
- '2022-10-01'
- '2022-10-01'
polling:
default:
strategy: >-
new OperationResourcePollingStrategyWithEndpoint<>({httpPipeline}, "https://" + this.client.getEndpoint(), null, null, {context})
new OperationResourcePollingStrategyWithEndpoint<>({httpPipeline}, "https://" + this.client.getEndpoint(), null, null, {context})
```