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
5 changes: 5 additions & 0 deletions eng/lintingconfigs/revapi/track2/revapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,11 @@
"code": "java.field.removed",
"old": "field com.azure.resourcemanager.network.models.SensitivityType.NONE",
"justification": "Remove NonSensitivity for DDoS ruleset."
},
{
"code": "java.method.removed",
"old": "method com.azure.resourcemanager.compute.models.ExecutedValidation com.azure.resourcemanager.compute.models.ExecutedValidation::withStatus(com.azure.resourcemanager.compute.models.ValidationStatus)",
"justification": "ExecutedValidation is output-only; fluent setter removed as part of immutable model cleanup."
}
]
}
Expand Down
3 changes: 2 additions & 1 deletion eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ com.azure.resourcemanager:azure-resourcemanager-appplatform;2.51.0;2.52.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-appservice;2.54.1;2.55.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-authorization;2.53.6;2.54.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-cdn;2.53.5;2.54.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-compute;2.55.1;2.56.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-compute;2.55.1;2.56.0
com.azure.resourcemanager:azure-resourcemanager-containerinstance;2.53.6;2.54.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-containerregistry;2.54.1;2.55.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-containerservice;2.57.0;2.58.0-beta.2
Expand Down Expand Up @@ -553,6 +553,7 @@ unreleased_com.azure:azure-core-test;1.27.0-beta.14
unreleased_com.azure.v2:azure-identity;2.0.0-beta.1
unreleased_com.azure.v2:azure-data-appconfiguration;2.0.0-beta.1
unreleased_io.clientcore:http-netty4;1.0.0-beta.1
unreleased_com.azure.resourcemanager:azure-resourcemanager-compute;2.56.0

# Released Beta dependencies: Copy the entry from above, prepend "beta_", remove the current
# version and set the version to the released beta. Released beta dependencies are only valid
Expand Down
10 changes: 4 additions & 6 deletions sdk/compute/azure-resourcemanager-compute/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
# Release History

## 2.56.0-beta.1 (Unreleased)
## 2.56.0 (2026-01-12)

### Features Added

### Breaking Changes
### Other Changes

### Bugs Fixed
#### Dependency Updates

### Other Changes
- Updated `GalleryRP api-version` to `2025-03-03`.

## 2.55.1 (2025-11-24)

Expand Down
2 changes: 1 addition & 1 deletion sdk/compute/azure-resourcemanager-compute/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-compute</artifactId>
<version>2.55.0</version>
<version>2.56.0</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
2 changes: 1 addition & 1 deletion sdk/compute/azure-resourcemanager-compute/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "java",
"TagPrefix": "java/compute/azure-resourcemanager-compute",
"Tag": "java/compute/azure-resourcemanager-compute_6539f79365"
"Tag": "java/compute/azure-resourcemanager-compute_6a5861292e"
}
2 changes: 1 addition & 1 deletion sdk/compute/azure-resourcemanager-compute/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-compute</artifactId>
<version>2.56.0-beta.1</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-compute;current} -->
<version>2.56.0</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-compute;current} -->
<packaging>jar</packaging>

<name>Microsoft Azure SDK for Compute Management</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,20 @@ public interface ComputeManagementClient {
*/
GalleryInVMAccessControlProfileVersionsClient getGalleryInVMAccessControlProfileVersions();

/**
* Gets the GalleryScriptsClient object to access its operations.
*
* @return the GalleryScriptsClient object.
*/
GalleryScriptsClient getGalleryScripts();

/**
* Gets the GalleryScriptVersionsClient object to access its operations.
*
* @return the GalleryScriptVersionsClient object.
*/
GalleryScriptVersionsClient getGalleryScriptVersions();

/**
* Gets the GallerySharingProfilesClient object to access its operations.
*
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,191 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.compute.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.core.management.Resource;
import com.azure.core.management.SystemData;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
import java.io.IOException;
import java.util.Map;

/**
* Specifies information about the gallery Script Definition that you want to create or update.
*/
@Fluent
public final class GalleryScriptInner extends Resource {
/*
* Describes the properties of a gallery Script Definition.
*/
private GalleryScriptProperties properties;

/*
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
private SystemData systemData;

/*
* The type of the resource.
*/
private String type;

/*
* The name of the resource.
*/
private String name;

/*
* Fully qualified resource Id for the resource.
*/
private String id;

/**
* Creates an instance of GalleryScriptInner class.
*/
public GalleryScriptInner() {
}

/**
* Get the properties property: Describes the properties of a gallery Script Definition.
*
* @return the properties value.
*/
public GalleryScriptProperties properties() {
return this.properties;
}

/**
* Set the properties property: Describes the properties of a gallery Script Definition.
*
* @param properties the properties value to set.
* @return the GalleryScriptInner object itself.
*/
public GalleryScriptInner withProperties(GalleryScriptProperties properties) {
this.properties = properties;
return this;
}

/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
* @return the systemData value.
*/
public SystemData systemData() {
return this.systemData;
}

/**
* Get the type property: The type of the resource.
*
* @return the type value.
*/
@Override
public String type() {
return this.type;
}

/**
* Get the name property: The name of the resource.
*
* @return the name value.
*/
@Override
public String name() {
return this.name;
}

/**
* Get the id property: Fully qualified resource Id for the resource.
*
* @return the id value.
*/
@Override
public String id() {
return this.id;
}

/**
* {@inheritDoc}
*/
@Override
public GalleryScriptInner withLocation(String location) {
super.withLocation(location);
return this;
}

/**
* {@inheritDoc}
*/
@Override
public GalleryScriptInner withTags(Map<String, String> tags) {
super.withTags(tags);
return this;
}

/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (properties() != null) {
properties().validate();
}
}

/**
* {@inheritDoc}
*/
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
jsonWriter.writeStringField("location", location());
jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
jsonWriter.writeJsonField("properties", this.properties);
return jsonWriter.writeEndObject();
}

/**
* Reads an instance of GalleryScriptInner from the JsonReader.
*
* @param jsonReader The JsonReader being read.
* @return An instance of GalleryScriptInner if the JsonReader was pointing to an instance of it, or null if it was
* pointing to JSON null.
* @throws IllegalStateException If the deserialized JSON object was missing any required properties.
* @throws IOException If an error occurs while reading the GalleryScriptInner.
*/
public static GalleryScriptInner fromJson(JsonReader jsonReader) throws IOException {
return jsonReader.readObject(reader -> {
GalleryScriptInner deserializedGalleryScriptInner = new GalleryScriptInner();
while (reader.nextToken() != JsonToken.END_OBJECT) {
String fieldName = reader.getFieldName();
reader.nextToken();

if ("id".equals(fieldName)) {
deserializedGalleryScriptInner.id = reader.getString();
} else if ("name".equals(fieldName)) {
deserializedGalleryScriptInner.name = reader.getString();
} else if ("type".equals(fieldName)) {
deserializedGalleryScriptInner.type = reader.getString();
} else if ("location".equals(fieldName)) {
deserializedGalleryScriptInner.withLocation(reader.getString());
} else if ("tags".equals(fieldName)) {
Map<String, String> tags = reader.readMap(reader1 -> reader1.getString());
deserializedGalleryScriptInner.withTags(tags);
} else if ("properties".equals(fieldName)) {
deserializedGalleryScriptInner.properties = GalleryScriptProperties.fromJson(reader);
} else if ("systemData".equals(fieldName)) {
deserializedGalleryScriptInner.systemData = SystemData.fromJson(reader);
} else {
reader.skipChildren();
}
}

return deserializedGalleryScriptInner;
});
}
}
Loading
Loading