Skip to content

Latest commit

 

History

History
95 lines (71 loc) · 3.84 KB

File metadata and controls

95 lines (71 loc) · 3.84 KB

Java DPS

see https://aka.ms/autorest

This is the AutoRest configuration file for the Device Provisioning Service.

Java common settings

These settings apply only when --java is specified on the command line. Please also specify --azure-libraries-for-java-folder=<path to "SDKs" directory of your azure-sdk-for-java clone>.

java:
  azure-arm: true
  output-folder: $(azure-libraries-for-java-folder)/deviceprovisioningservices

directive:
  - rename-model:
      from: 'SharedAccessSignatureAuthorizationRule[AccessRightsDescription]'
      to: SharedAccessSignatureAuthorizationRule
  - from: iotdps.json
    where: $.definitions.Resource.properties.resourcegroup
    transform: >
      $["readOnly"] = true
  - from: iotdps.json
    where: $.definitions.Resource.properties.subscriptionid
    transform: >
      $["readOnly"] = true

Tag: package-2021-10 and java

These settings apply only when --tag=package-2021-10 --java is specified on the command line. Please also specify --azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>.

java:
  namespace: com.microsoft.azure.management.deviceprovisioningservices.v2021_10_15
  output-folder: $(azure-libraries-for-java-folder)/sdk/deviceprovisioningservices/mgmt-v2021_10_15

Tag: package-preview-2020-09 and java

These settings apply only when --tag=package-preview-2020-09 --java is specified on the command line. Please also specify --azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>.

java:
  namespace: com.microsoft.azure.management.deviceprovisioningservices.v2020_09_01_preview
  output-folder: $(azure-libraries-for-java-folder)/sdk/deviceprovisioningservices/mgmt-v2020_09_01_preview

Tag: package-2020-03 and java

These settings apply only when --tag=package-2020-03 --java is specified on the command line. Please also specify --azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>.

java:
  namespace: com.microsoft.azure.management.deviceprovisioningservices.v2020_03_01
  output-folder: $(azure-libraries-for-java-folder)/sdk/deviceprovisioningservices/mgmt-v2020_03_01

Tag: package-2018-01 and java

These settings apply only when --tag=package-2018-01 --java is specified on the command line. Please also specify --azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>.

java:
  namespace: com.microsoft.azure.management.deviceprovisioningservices.v2018_01_22
  output-folder: $(azure-libraries-for-java-folder)/sdk/deviceprovisioningservices/mgmt-v2018_01_22

Tag: package-2017-11 and java

These settings apply only when --tag=package-2017-11 --java is specified on the command line. Please also specify --azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>.

java:
  namespace: com.microsoft.azure.management.deviceprovisioningservices.v2017_11_15
  output-folder: $(azure-libraries-for-java-folder)/sdk/deviceprovisioningservices/mgmt-v2017_11_15

Tag: package-preview-2017-08 and java

These settings apply only when --tag=package-preview-2017-08 --java is specified on the command line. Please also specify --azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>.

java:
  namespace: com.microsoft.azure.management.deviceprovisioningservices.v2017_08_21_preview
  output-folder: $(azure-libraries-for-java-folder)/sdk/deviceprovisioningservices/mgmt-v2017_08_21_preview