Skip to content

Commit

Permalink
Update readme.java.md to make Resource.resourcegroup and subscription…
Browse files Browse the repository at this point in the history
…id readonly (#24530)

* Update readme.java.md to make Resource.resourcegroup readonly

* Update readme.java.md

* Update readme.java.md to make subscriptionid readonly
  • Loading branch information
haolingdong-msft authored Jun 25, 2023
1 parent 1d9003a commit 89e91a0
Showing 1 changed file with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,17 @@ java:
output-folder: $(azure-libraries-for-java-folder)/deviceprovisioningservices

directive:
rename-model:
from: 'SharedAccessSignatureAuthorizationRule[AccessRightsDescription]'
to: SharedAccessSignatureAuthorizationRule
- 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
Expand Down

0 comments on commit 89e91a0

Please sign in to comment.