Skip to content

Commit 2d61d62

Browse files
authored
Mitigate MI breaking change (#24459)
1 parent d6e3adc commit 2d61d62

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed

src/CustomLocation/CustomLocation.Autorest/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,19 @@ For information on how to develop for `Az.CustomLocation`, see [how-to.md](how-t
3131
commit: f1180941e238bc99ac71f9535ecd126bb8b77d8f
3232
require:
3333
- $(this-folder)/../../readme.azure.noprofile.md
34-
input-file:
34+
input-file:
3535
- $(repo)/specification/extendedlocation/resource-manager/Microsoft.ExtendedLocation/preview/2021-08-31-preview/customlocations.json
3636

3737
module-version: 0.1.0
3838
title: CustomLocation
3939
subject-prefix: $(service-name)
4040

4141
identity-correction-for-post: true
42+
disable-transform-identity-type: true
43+
flatten-userassignedidentity: false
4244

4345
directive:
44-
- from: swagger-document
46+
- from: swagger-document
4547
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}"].delete.responses
4648
transform: >-
4749
return {
@@ -62,7 +64,7 @@ directive:
6264
}
6365
}
6466
65-
- from: swagger-document
67+
- from: swagger-document
6668
where: $.definitions.customLocationProperties.properties.provisioningState
6769
transform: >-
6870
return {

src/ElasticSan/ElasticSan.Autorest/README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,13 @@ title: ElasticSan
4141
module-version: 0.3.0
4242
subject-prefix: $(service-name)
4343

44-
use-extension:
44+
use-extension:
4545
"@autorest/powershell": "4.x"
4646
enable-parent-pipeline-input: true
47+
disable-transform-identity-type: true
48+
flatten-userassignedidentity: false
4749

48-
# If there are post APIs for some kinds of actions in the RP, you may need to
50+
# If there are post APIs for some kinds of actions in the RP, you may need to
4951
# uncomment following line to support viaIdentity for these post APIs
5052
# identity-correction-for-post: true
5153

@@ -68,12 +70,12 @@ directive:
6870
alias: ElasticSanName
6971
- where:
7072
subject: VolumeGroup
71-
parameter-name: Name
73+
parameter-name: Name
7274
set:
7375
alias: VolumeGroupName
7476
- where:
7577
subject: Volume
76-
parameter-name: Name
78+
parameter-name: Name
7779
set:
7880
alias: VolumeName
7981
- where:
@@ -85,7 +87,7 @@ directive:
8587
set:
8688
parameter-name: ForceDelete
8789
- where:
88-
parameter-name: SnapshotName
90+
parameter-name: SnapshotName
8991
set:
9092
parameter-name: Name
9193
- where:
@@ -106,7 +108,7 @@ directive:
106108
parameter-name: GroupName
107109
set:
108110
parameter-name: VolumeGroupName
109-
- where:
111+
- where:
110112
subject: VolumeSnapshot
111113
verb: Update
112114
remove: true
@@ -139,14 +141,14 @@ directive:
139141
- where:
140142
subject: ^PrivateEndpointConnection$|^PrivateLinkResource$
141143
hide: true
142-
- where:
144+
- where:
143145
verb: ^New$|^Update$
144146
subject: ^VolumeGroup$
145147
hide: true
146-
- where:
148+
- where:
147149
verb: New
148-
subject: Volume
149-
parameter-name: ManagedByResourceId
150+
subject: Volume
151+
parameter-name: ManagedByResourceId
150152
hide: true
151153
- from: IdentityUserAssignedIdentities.dictionary.cs
152154
where: $

0 commit comments

Comments
 (0)