Skip to content
Open
Show file tree
Hide file tree
Changes from 4 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
2 changes: 1 addition & 1 deletion eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ com.azure.resourcemanager:azure-resourcemanager-appservice;2.55.4;2.56.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-authorization;2.53.10;2.54.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-cdn;2.53.9;2.54.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-compute;2.58.2;2.59.0
com.azure.resourcemanager:azure-resourcemanager-containerinstance;2.53.12;2.54.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-containerinstance;2.53.12;2.54.0
com.azure.resourcemanager:azure-resourcemanager-containerregistry;2.55.3;2.56.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-containerservice;2.61.1;2.62.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-cosmos;2.54.4;2.55.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
# Release History

## 2.54.0-beta.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed
## 2.54.0 (2026-07-10)

### Other Changes

- Updated `api-version` to `2026-07-01`.

## 2.53.12 (2026-07-07)

### Other Changes
Expand All @@ -35,7 +31,6 @@
- Upgraded `azure-storage-file-share` from `12.29.3` to version `12.31.0`.
- Upgraded `azure-resourcemanager-resources` from `2.54.1` to version `2.54.2`.


## 2.53.10 (2026-05-05)

### Other Changes
Expand Down
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-containerinstance</artifactId>
<version>2.54.0-beta.1</version>
<version>2.54.0</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

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

<name>Microsoft Azure SDK for Container Instance Management</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@ public interface ContainerInstanceManagementClient {
*/
CGProfilesClient getCGProfiles();

/**
* Gets the SandboxGroupsClient object to access its operations.
*
* @return the SandboxGroupsClient object.
*/
SandboxGroupsClient getSandboxGroups();

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

Large diffs are not rendered by default.

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

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

import com.azure.core.annotation.Immutable;
import com.azure.core.util.CoreUtils;
import com.azure.core.util.logging.ClientLogger;
import com.azure.json.JsonReader;
import com.azure.json.JsonSerializable;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.time.format.DateTimeFormatter;

/**
* The result of getting an access token for a SandboxGroup.
*/
@Immutable
public final class SandboxGroupAccessTokenInner implements JsonSerializable<SandboxGroupAccessTokenInner> {
/*
* The endpoint URL to use with the access token.
*/
private String endpoint;

/*
* The access token used to authenticate against the endpoint.
*/
private String accessToken;

/*
* The UTC date and time at which the access token expires.
*/
private OffsetDateTime notAfter;

/**
* Creates an instance of SandboxGroupAccessTokenInner class.
*/
private SandboxGroupAccessTokenInner() {
}

/**
* Get the endpoint property: The endpoint URL to use with the access token.
*
* @return the endpoint value.
*/
public String endpoint() {
return this.endpoint;
}

/**
* Get the accessToken property: The access token used to authenticate against the endpoint.
*
* @return the accessToken value.
*/
public String accessToken() {
return this.accessToken;
}

/**
* Get the notAfter property: The UTC date and time at which the access token expires.
*
* @return the notAfter value.
*/
public OffsetDateTime notAfter() {
return this.notAfter;
}

/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (endpoint() == null) {
throw LOGGER.atError()
.log(new IllegalArgumentException(
"Missing required property endpoint in model SandboxGroupAccessTokenInner"));
}
if (accessToken() == null) {
throw LOGGER.atError()
.log(new IllegalArgumentException(
"Missing required property accessToken in model SandboxGroupAccessTokenInner"));
}
if (notAfter() == null) {
throw LOGGER.atError()
.log(new IllegalArgumentException(
"Missing required property notAfter in model SandboxGroupAccessTokenInner"));
}
}

private static final ClientLogger LOGGER = new ClientLogger(SandboxGroupAccessTokenInner.class);

/**
* {@inheritDoc}
*/
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
jsonWriter.writeStringField("endpoint", this.endpoint);
jsonWriter.writeStringField("accessToken", this.accessToken);
jsonWriter.writeStringField("notAfter",
this.notAfter == null ? null : DateTimeFormatter.ISO_OFFSET_DATE_TIME.format(this.notAfter));
return jsonWriter.writeEndObject();
}

/**
* Reads an instance of SandboxGroupAccessTokenInner from the JsonReader.
*
* @param jsonReader The JsonReader being read.
* @return An instance of SandboxGroupAccessTokenInner 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 SandboxGroupAccessTokenInner.
*/
public static SandboxGroupAccessTokenInner fromJson(JsonReader jsonReader) throws IOException {
return jsonReader.readObject(reader -> {
SandboxGroupAccessTokenInner deserializedSandboxGroupAccessTokenInner = new SandboxGroupAccessTokenInner();
while (reader.nextToken() != JsonToken.END_OBJECT) {
String fieldName = reader.getFieldName();
reader.nextToken();

if ("endpoint".equals(fieldName)) {
deserializedSandboxGroupAccessTokenInner.endpoint = reader.getString();
} else if ("accessToken".equals(fieldName)) {
deserializedSandboxGroupAccessTokenInner.accessToken = reader.getString();
} else if ("notAfter".equals(fieldName)) {
deserializedSandboxGroupAccessTokenInner.notAfter = reader
.getNullable(nonNullReader -> CoreUtils.parseBestOffsetDateTime(nonNullReader.getString()));
} else {
reader.skipChildren();
}
}

return deserializedSandboxGroupAccessTokenInner;
});
}
}
Loading
Loading