Skip to content

Commit ff87a02

Browse files
Revert "mgmt, compute 2026 04 01 (#49187)" (#49221)
This reverts commit a34619c.
1 parent db06b21 commit ff87a02

228 files changed

Lines changed: 1239 additions & 1527 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

sdk/compute/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/VirtualMachineExtensionImagesClient.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,6 @@ Response<List<VirtualMachineExtensionImageInner>> listTypesWithResponse(String l
145145
* @param filter The filter to apply on the operation.
146146
* @param top The top parameter.
147147
* @param orderby The orderby parameter.
148-
* @param expand The expand expression to apply on the operation. Allowed values are 'properties' and
149-
* 'properties/deprecationStatus'.
150148
* @throws IllegalArgumentException thrown if parameters fail the validation.
151149
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
152150
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -155,7 +153,7 @@ Response<List<VirtualMachineExtensionImageInner>> listTypesWithResponse(String l
155153
*/
156154
@ServiceMethod(returns = ReturnType.SINGLE)
157155
Mono<Response<List<VirtualMachineExtensionImageInner>>> listVersionsWithResponseAsync(String location,
158-
String publisherName, String type, String filter, Integer top, String orderby, String expand);
156+
String publisherName, String type, String filter, Integer top, String orderby);
159157

160158
/**
161159
* Gets a list of virtual machine extension image versions.
@@ -180,8 +178,6 @@ Mono<Response<List<VirtualMachineExtensionImageInner>>> listVersionsWithResponse
180178
* @param filter The filter to apply on the operation.
181179
* @param top The top parameter.
182180
* @param orderby The orderby parameter.
183-
* @param expand The expand expression to apply on the operation. Allowed values are 'properties' and
184-
* 'properties/deprecationStatus'.
185181
* @param context The context to associate with this operation.
186182
* @throws IllegalArgumentException thrown if parameters fail the validation.
187183
* @throws com.azure.resourcemanager.compute.models.ApiErrorException thrown if the request is rejected by server.
@@ -190,7 +186,7 @@ Mono<Response<List<VirtualMachineExtensionImageInner>>> listVersionsWithResponse
190186
*/
191187
@ServiceMethod(returns = ReturnType.SINGLE)
192188
Response<List<VirtualMachineExtensionImageInner>> listVersionsWithResponse(String location, String publisherName,
193-
String type, String filter, Integer top, String orderby, String expand, Context context);
189+
String type, String filter, Integer top, String orderby, Context context);
194190

195191
/**
196192
* Gets a list of virtual machine extension image versions.

sdk/compute/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineExtensionImageInner.java

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
import com.azure.json.JsonReader;
1111
import com.azure.json.JsonToken;
1212
import com.azure.json.JsonWriter;
13-
import com.azure.resourcemanager.compute.models.ExtensionFeatureMetadata;
14-
import com.azure.resourcemanager.compute.models.ReleaseCategory;
15-
import com.azure.resourcemanager.compute.models.RunProfile;
16-
import com.azure.resourcemanager.compute.models.UrgencyLevel;
1713
import java.io.IOException;
1814
import java.util.Map;
1915

@@ -149,53 +145,6 @@ public Boolean supportsMultipleExtensions() {
149145
return this.innerProperties() == null ? null : this.innerProperties().supportsMultipleExtensions();
150146
}
151147

152-
/**
153-
* Get the releaseNotes property: Summary of changes or updates in this extension version.
154-
*
155-
* @return the releaseNotes value.
156-
*/
157-
public String releaseNotes() {
158-
return this.innerProperties() == null ? null : this.innerProperties().releaseNotes();
159-
}
160-
161-
/**
162-
* Get the releaseCategory property: Categorizes the type of change introduced (e.g., BugFix, SecurityFix,
163-
* CompatibilityUpdate, NewFeature, Other).
164-
*
165-
* @return the releaseCategory value.
166-
*/
167-
public ReleaseCategory releaseCategory() {
168-
return this.innerProperties() == null ? null : this.innerProperties().releaseCategory();
169-
}
170-
171-
/**
172-
* Get the urgencyLevel property: Indicates the urgency level for applying this extension update.
173-
*
174-
* @return the urgencyLevel value.
175-
*/
176-
public UrgencyLevel urgencyLevel() {
177-
return this.innerProperties() == null ? null : this.innerProperties().urgencyLevel();
178-
}
179-
180-
/**
181-
* Get the runProfile property: Specifies when and how the extension should be executed.
182-
*
183-
* @return the runProfile value.
184-
*/
185-
public RunProfile runProfile() {
186-
return this.innerProperties() == null ? null : this.innerProperties().runProfile();
187-
}
188-
189-
/**
190-
* Get the extensionFeatureMetadata property: A nested object that holds additional metadata in a flexible property
191-
* bag.
192-
*
193-
* @return the extensionFeatureMetadata value.
194-
*/
195-
public ExtensionFeatureMetadata extensionFeatureMetadata() {
196-
return this.innerProperties() == null ? null : this.innerProperties().extensionFeatureMetadata();
197-
}
198-
199148
/**
200149
* Validates the instance.
201150
*

sdk/compute/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/VirtualMachineExtensionImageProperties.java

Lines changed: 0 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
import com.azure.json.JsonSerializable;
1111
import com.azure.json.JsonToken;
1212
import com.azure.json.JsonWriter;
13-
import com.azure.resourcemanager.compute.models.ExtensionFeatureMetadata;
14-
import com.azure.resourcemanager.compute.models.ReleaseCategory;
15-
import com.azure.resourcemanager.compute.models.RunProfile;
16-
import com.azure.resourcemanager.compute.models.UrgencyLevel;
1713
import java.io.IOException;
1814

1915
/**
@@ -49,31 +45,6 @@ public final class VirtualMachineExtensionImageProperties
4945
*/
5046
private Boolean supportsMultipleExtensions;
5147

52-
/*
53-
* Summary of changes or updates in this extension version.
54-
*/
55-
private String releaseNotes;
56-
57-
/*
58-
* Categorizes the type of change introduced (e.g., BugFix, SecurityFix, CompatibilityUpdate, NewFeature, Other).
59-
*/
60-
private ReleaseCategory releaseCategory;
61-
62-
/*
63-
* Indicates the urgency level for applying this extension update.
64-
*/
65-
private UrgencyLevel urgencyLevel;
66-
67-
/*
68-
* Specifies when and how the extension should be executed.
69-
*/
70-
private RunProfile runProfile;
71-
72-
/*
73-
* A nested object that holds additional metadata in a flexible property bag.
74-
*/
75-
private ExtensionFeatureMetadata extensionFeatureMetadata;
76-
7748
/**
7849
* Creates an instance of VirtualMachineExtensionImageProperties class.
7950
*/
@@ -128,53 +99,6 @@ public Boolean supportsMultipleExtensions() {
12899
return this.supportsMultipleExtensions;
129100
}
130101

131-
/**
132-
* Get the releaseNotes property: Summary of changes or updates in this extension version.
133-
*
134-
* @return the releaseNotes value.
135-
*/
136-
public String releaseNotes() {
137-
return this.releaseNotes;
138-
}
139-
140-
/**
141-
* Get the releaseCategory property: Categorizes the type of change introduced (e.g., BugFix, SecurityFix,
142-
* CompatibilityUpdate, NewFeature, Other).
143-
*
144-
* @return the releaseCategory value.
145-
*/
146-
public ReleaseCategory releaseCategory() {
147-
return this.releaseCategory;
148-
}
149-
150-
/**
151-
* Get the urgencyLevel property: Indicates the urgency level for applying this extension update.
152-
*
153-
* @return the urgencyLevel value.
154-
*/
155-
public UrgencyLevel urgencyLevel() {
156-
return this.urgencyLevel;
157-
}
158-
159-
/**
160-
* Get the runProfile property: Specifies when and how the extension should be executed.
161-
*
162-
* @return the runProfile value.
163-
*/
164-
public RunProfile runProfile() {
165-
return this.runProfile;
166-
}
167-
168-
/**
169-
* Get the extensionFeatureMetadata property: A nested object that holds additional metadata in a flexible property
170-
* bag.
171-
*
172-
* @return the extensionFeatureMetadata value.
173-
*/
174-
public ExtensionFeatureMetadata extensionFeatureMetadata() {
175-
return this.extensionFeatureMetadata;
176-
}
177-
178102
/**
179103
* Validates the instance.
180104
*
@@ -196,9 +120,6 @@ public void validate() {
196120
.log(new IllegalArgumentException(
197121
"Missing required property handlerSchema in model VirtualMachineExtensionImageProperties"));
198122
}
199-
if (extensionFeatureMetadata() != null) {
200-
extensionFeatureMetadata().validate();
201-
}
202123
}
203124

204125
private static final ClientLogger LOGGER = new ClientLogger(VirtualMachineExtensionImageProperties.class);
@@ -246,20 +167,6 @@ public static VirtualMachineExtensionImageProperties fromJson(JsonReader jsonRea
246167
} else if ("supportsMultipleExtensions".equals(fieldName)) {
247168
deserializedVirtualMachineExtensionImageProperties.supportsMultipleExtensions
248169
= reader.getNullable(JsonReader::getBoolean);
249-
} else if ("releaseNotes".equals(fieldName)) {
250-
deserializedVirtualMachineExtensionImageProperties.releaseNotes = reader.getString();
251-
} else if ("releaseCategory".equals(fieldName)) {
252-
deserializedVirtualMachineExtensionImageProperties.releaseCategory
253-
= ReleaseCategory.fromString(reader.getString());
254-
} else if ("urgencyLevel".equals(fieldName)) {
255-
deserializedVirtualMachineExtensionImageProperties.urgencyLevel
256-
= UrgencyLevel.fromString(reader.getString());
257-
} else if ("runProfile".equals(fieldName)) {
258-
deserializedVirtualMachineExtensionImageProperties.runProfile
259-
= RunProfile.fromString(reader.getString());
260-
} else if ("extensionFeatureMetadata".equals(fieldName)) {
261-
deserializedVirtualMachineExtensionImageProperties.extensionFeatureMetadata
262-
= ExtensionFeatureMetadata.fromJson(reader);
263170
} else {
264171
reader.skipChildren();
265172
}

0 commit comments

Comments
 (0)