Skip to content
Closed
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
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Release History

## 1.1.0-beta.1 (Unreleased)
## 1.1.0-beta.1 (2026-03-04)

### Features Added
- Azure Resource Manager Health Data AI Services client library for Java. This package contains Microsoft Azure SDK for Health Data AI Services Management SDK. Package api-version 2024-09-20. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Breaking Changes
### Features Added

### Bugs Fixed
- Added SKU support to `DeidService` resource model using ARM common-types
- Added optional `sku` property to `DeidUpdate` patch model

### Other Changes

## 1.0.0 (2024-11-21)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Azure Resource Manager Health Data AI Services client library for Java.

This package contains Microsoft Azure SDK for Health Data AI Services Management SDK. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
This package contains Microsoft Azure SDK for Health Data AI Services Management SDK. Package api-version 2024-09-20. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

## We'd love to hear your feedback

Expand Down Expand Up @@ -52,15 +52,15 @@ Azure subscription ID can be configured via `AZURE_SUBSCRIPTION_ID` environment
Assuming the use of the `DefaultAzureCredential` credential class, the client can be authenticated using the following code:

```java
AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
AzureProfile profile = new AzureProfile(AzureCloud.AZURE_PUBLIC_CLOUD);
TokenCredential credential = new DefaultAzureCredentialBuilder()
.authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
.build();
HealthDataAIServicesManager manager = HealthDataAIServicesManager
.authenticate(credential, profile);
```

The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.
The sample code assumes global Azure. Please change the `AzureCloud.AZURE_PUBLIC_CLOUD` variable if otherwise.

See [Authentication][authenticate] for more options.

Expand Down Expand Up @@ -100,5 +100,3 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
[coc]: https://opensource.microsoft.com/codeofconduct/
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/


Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import com.azure.resourcemanager.healthdataaiservices.models.DeidServiceProperti
import com.azure.resourcemanager.healthdataaiservices.models.ManagedServiceIdentity;
import com.azure.resourcemanager.healthdataaiservices.models.ManagedServiceIdentityType;
import com.azure.resourcemanager.healthdataaiservices.models.PublicNetworkAccess;
import com.azure.resourcemanager.healthdataaiservices.models.Sku;
import java.util.HashMap;
import java.util.Map;

Expand All @@ -56,6 +57,7 @@ public final class DeidServicesCreateSamples {
.withProperties(new DeidServiceProperties().withPublicNetworkAccess(PublicNetworkAccess.ENABLED))
.withIdentity(new ManagedServiceIdentity().withType(ManagedServiceIdentityType.NONE)
.withUserAssignedIdentities(mapOf()))
.withSku(new Sku().withName("Free"))
.create();
}

Expand Down Expand Up @@ -170,6 +172,7 @@ import com.azure.resourcemanager.healthdataaiservices.models.DeidService;
import com.azure.resourcemanager.healthdataaiservices.models.ManagedServiceIdentityType;
import com.azure.resourcemanager.healthdataaiservices.models.ManagedServiceIdentityUpdate;
import com.azure.resourcemanager.healthdataaiservices.models.PublicNetworkAccess;
import com.azure.resourcemanager.healthdataaiservices.models.Sku;
import java.util.HashMap;
import java.util.Map;

Expand All @@ -194,6 +197,7 @@ public final class DeidServicesUpdateSamples {
.withTags(mapOf())
.withIdentity(new ManagedServiceIdentityUpdate().withType(ManagedServiceIdentityType.NONE)
.withUserAssignedIdentities(mapOf()))
.withSku(new Sku().withName("Free"))
.withProperties(new DeidPropertiesUpdate().withPublicNetworkAccess(PublicNetworkAccess.ENABLED))
.apply();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
~ Licensed under the MIT License.
~ Code generated by Microsoft (R) TypeSpec Code Generator.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.azure</groupId>
Expand All @@ -18,7 +18,7 @@
<packaging>jar</packaging>

<name>Microsoft Azure SDK for Health Data AI Services Management</name>
<description>This package contains Microsoft Azure SDK for Health Data AI Services Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt.</description>
<description>This package contains Microsoft Azure SDK for Health Data AI Services Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Package api-version 2024-09-20.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand Down Expand Up @@ -46,7 +46,6 @@
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
<revapi.skip>true</revapi.skip>
<spotless.skip>false</spotless.skip>
</properties>
<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import com.azure.json.JsonWriter;
import com.azure.resourcemanager.healthdataaiservices.models.DeidServiceProperties;
import com.azure.resourcemanager.healthdataaiservices.models.ManagedServiceIdentity;
import com.azure.resourcemanager.healthdataaiservices.models.Sku;
import java.io.IOException;
import java.util.Map;

Expand All @@ -30,6 +31,11 @@ public final class DeidServiceInner extends Resource {
*/
private ManagedServiceIdentity identity;

/*
* The SKU (Stock Keeping Unit) assigned to this resource.
*/
private Sku sku;

/*
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
Expand Down Expand Up @@ -96,6 +102,26 @@ public DeidServiceInner withIdentity(ManagedServiceIdentity identity) {
return this;
}

/**
* Get the sku property: The SKU (Stock Keeping Unit) assigned to this resource.
*
* @return the sku value.
*/
public Sku sku() {
return this.sku;
}

/**
* Set the sku property: The SKU (Stock Keeping Unit) assigned to this resource.
*
* @param sku the sku value to set.
* @return the DeidServiceInner object itself.
*/
public DeidServiceInner withSku(Sku sku) {
this.sku = sku;
return this;
}

/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
Expand Down Expand Up @@ -163,6 +189,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
jsonWriter.writeJsonField("properties", this.properties);
jsonWriter.writeJsonField("identity", this.identity);
jsonWriter.writeJsonField("sku", this.sku);
return jsonWriter.writeEndObject();
}

Expand Down Expand Up @@ -197,6 +224,8 @@ public static DeidServiceInner fromJson(JsonReader jsonReader) throws IOExceptio
deserializedDeidServiceInner.properties = DeidServiceProperties.fromJson(reader);
} else if ("identity".equals(fieldName)) {
deserializedDeidServiceInner.identity = ManagedServiceIdentity.fromJson(reader);
} else if ("sku".equals(fieldName)) {
deserializedDeidServiceInner.sku = Sku.fromJson(reader);
} else if ("systemData".equals(fieldName)) {
deserializedDeidServiceInner.systemData = SystemData.fromJson(reader);
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import com.azure.resourcemanager.healthdataaiservices.models.DeidUpdate;
import com.azure.resourcemanager.healthdataaiservices.models.ManagedServiceIdentity;
import com.azure.resourcemanager.healthdataaiservices.models.ManagedServiceIdentityUpdate;
import com.azure.resourcemanager.healthdataaiservices.models.Sku;
import java.util.Collections;
import java.util.Map;

Expand Down Expand Up @@ -55,6 +56,10 @@ public ManagedServiceIdentity identity() {
return this.innerModel().identity();
}

public Sku sku() {
return this.innerModel().sku();
}

public SystemData systemData() {
return this.innerModel().systemData();
}
Expand Down Expand Up @@ -184,6 +189,16 @@ public DeidServiceImpl withIdentity(ManagedServiceIdentity identity) {
return this;
}

public DeidServiceImpl withSku(Sku sku) {
if (isInCreateMode()) {
this.innerModel().withSku(sku);
return this;
} else {
this.updateProperties.withSku(sku);
return this;
}
}

public DeidServiceImpl withIdentity(ManagedServiceIdentityUpdate identity) {
this.updateProperties.withIdentity(identity);
return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ public interface DeidService {
*/
ManagedServiceIdentity identity();

/**
* Gets the sku property: The SKU (Stock Keeping Unit) assigned to this resource.
*
* @return the sku value.
*/
Sku sku();

/**
* Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
Expand Down Expand Up @@ -153,8 +160,8 @@ interface WithResourceGroup {
* The stage of the DeidService definition which contains all the minimum required properties for the resource
* to be created, but also allows for any other optional properties to be specified.
*/
interface WithCreate
extends DefinitionStages.WithTags, DefinitionStages.WithProperties, DefinitionStages.WithIdentity {
interface WithCreate extends DefinitionStages.WithTags, DefinitionStages.WithProperties,
DefinitionStages.WithIdentity, DefinitionStages.WithSku {
/**
* Executes the create request.
*
Expand Down Expand Up @@ -209,6 +216,19 @@ interface WithIdentity {
*/
WithCreate withIdentity(ManagedServiceIdentity identity);
}

/**
* The stage of the DeidService definition allowing to specify sku.
*/
interface WithSku {
/**
* Specifies the sku property: The SKU (Stock Keeping Unit) assigned to this resource..
*
* @param sku The SKU (Stock Keeping Unit) assigned to this resource.
* @return the next definition stage.
*/
WithCreate withSku(Sku sku);
}
}

/**
Expand All @@ -221,7 +241,8 @@ interface WithIdentity {
/**
* The template for DeidService update.
*/
interface Update extends UpdateStages.WithTags, UpdateStages.WithIdentity, UpdateStages.WithProperties {
interface Update
extends UpdateStages.WithTags, UpdateStages.WithIdentity, UpdateStages.WithSku, UpdateStages.WithProperties {
/**
* Executes the update request.
*
Expand Down Expand Up @@ -268,6 +289,19 @@ interface WithIdentity {
Update withIdentity(ManagedServiceIdentityUpdate identity);
}

/**
* The stage of the DeidService update allowing to specify sku.
*/
interface WithSku {
/**
* Specifies the sku property: The resource-specific properties for this resource..
*
* @param sku The resource-specific properties for this resource.
* @return the next definition stage.
*/
Update withSku(Sku sku);
}

/**
* The stage of the DeidService update allowing to specify properties.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ public final class DeidUpdate implements JsonSerializable<DeidUpdate> {
*/
private ManagedServiceIdentityUpdate identity;

/*
* The resource-specific properties for this resource.
*/
private Sku sku;

/*
* RP-specific properties
*/
Expand Down Expand Up @@ -78,6 +83,26 @@ public DeidUpdate withIdentity(ManagedServiceIdentityUpdate identity) {
return this;
}

/**
* Get the sku property: The resource-specific properties for this resource.
*
* @return the sku value.
*/
public Sku sku() {
return this.sku;
}

/**
* Set the sku property: The resource-specific properties for this resource.
*
* @param sku the sku value to set.
* @return the DeidUpdate object itself.
*/
public DeidUpdate withSku(Sku sku) {
this.sku = sku;
return this;
}

/**
* Get the properties property: RP-specific properties.
*
Expand Down Expand Up @@ -106,6 +131,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element));
jsonWriter.writeJsonField("identity", this.identity);
jsonWriter.writeJsonField("sku", this.sku);
jsonWriter.writeJsonField("properties", this.properties);
return jsonWriter.writeEndObject();
}
Expand All @@ -130,6 +156,8 @@ public static DeidUpdate fromJson(JsonReader jsonReader) throws IOException {
deserializedDeidUpdate.tags = tags;
} else if ("identity".equals(fieldName)) {
deserializedDeidUpdate.identity = ManagedServiceIdentityUpdate.fromJson(reader);
} else if ("sku".equals(fieldName)) {
deserializedDeidUpdate.sku = Sku.fromJson(reader);
} else if ("properties".equals(fieldName)) {
deserializedDeidUpdate.properties = DeidPropertiesUpdate.fromJson(reader);
} else {
Expand Down
Loading
Loading