Skip to content

Commit

Permalink
[Automation] Generate Fluent Lite from communication#package-2023-04 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
azure-sdk authored and drielenr committed Mar 28, 2024
1 parent b351be1 commit df45bd2
Show file tree
Hide file tree
Showing 114 changed files with 478 additions and 5,922 deletions.
2 changes: 1 addition & 1 deletion eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ com.azure.resourcemanager:azure-resourcemanager-redisenterprise;2.0.0;2.1.0-beta
com.azure.resourcemanager:azure-resourcemanager-hybridkubernetes;1.0.0-beta.3;1.0.0-beta.4
com.azure.resourcemanager:azure-resourcemanager-iothub;1.2.0;1.3.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-datadog;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-communication;2.0.0;2.1.0-beta.3
com.azure.resourcemanager:azure-resourcemanager-communication;2.0.0;2.1.0
com.azure.resourcemanager:azure-resourcemanager-apimanagement;1.0.0-beta.4;1.0.0-beta.5
com.azure.resourcemanager:azure-resourcemanager-kubernetesconfiguration;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-resourcegraph;1.0.0;1.1.0-beta.1
Expand Down
27 changes: 23 additions & 4 deletions sdk/communication/azure-resourcemanager-communication/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,33 @@
# Release History

## 2.1.0-beta.3 (Unreleased)
## 2.1.0 (2024-03-18)

- Azure Resource Manager Communication client library for Java. This package contains Microsoft Azure SDK for Communication Management SDK. REST API for Azure Communication Services. Package tag package-2023-04. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Features Added

### Breaking Changes
* `models.ManagedServiceIdentityType` was added

* `models.ManagedServiceIdentity` was added

* `models.UserAssignedIdentity` was added

#### `models.CommunicationServiceResource$Update` was modified

* `withIdentity(models.ManagedServiceIdentity)` was added

### Bugs Fixed
#### `models.CommunicationServiceResource$Definition` was modified

* `withIdentity(models.ManagedServiceIdentity)` was added

### Other Changes
#### `models.CommunicationServiceResourceUpdate` was modified

* `withIdentity(models.ManagedServiceIdentity)` was added
* `identity()` was added

#### `models.CommunicationServiceResource` was modified

* `identity()` was added

## 2.1.0-beta.2 (2023-11-23)

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

Azure Resource Manager Communication client library for Java.

This package contains Microsoft Azure SDK for Communication Management SDK. REST API for Azure Communication Services. Package tag package-preview-2023-06. 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 Communication Management SDK. REST API for Azure Communication Services. Package tag package-2023-04. 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 @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-communication</artifactId>
<version>2.1.0-beta.2</version>
<version>2.1.0</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
504 changes: 227 additions & 277 deletions sdk/communication/azure-resourcemanager-communication/SAMPLE.md

Large diffs are not rendered by default.

7 changes: 2 additions & 5 deletions sdk/communication/azure-resourcemanager-communication/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@

<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-communication</artifactId>
<version>2.1.0-beta.3</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-communication;current} -->
<version>2.1.0</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-communication;current} -->
<packaging>jar</packaging>

<name>Microsoft Azure SDK for Communication Management</name>
<description>This package contains Microsoft Azure SDK for Communication Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. REST API for Azure Communication Services. Package tag package-preview-2023-06.</description>
<description>This package contains Microsoft Azure SDK for Communication Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. REST API for Azure Communication Services. Package tag package-2023-04.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand All @@ -45,7 +45,6 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
<revapi.skip>true</revapi.skip>
</properties>
<dependencies>
<dependency>
Expand Down Expand Up @@ -88,8 +87,6 @@
<version>4.11.0</version> <!-- {x-version-update;org.mockito:mockito-core;external_dependency} -->
<scope>test</scope>
</dependency>
<!-- bytebuddy dependencies are required for mockito 4.11.0 to work with Java 21. Mockito 4.11.0 is the last release -->
<!-- of Mockito supporting Java 8 as a baseline. -->
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,11 @@
import com.azure.resourcemanager.communication.implementation.EmailServicesImpl;
import com.azure.resourcemanager.communication.implementation.OperationsImpl;
import com.azure.resourcemanager.communication.implementation.SenderUsernamesImpl;
import com.azure.resourcemanager.communication.implementation.SuppressionListAddressesImpl;
import com.azure.resourcemanager.communication.implementation.SuppressionListsImpl;
import com.azure.resourcemanager.communication.models.CommunicationServices;
import com.azure.resourcemanager.communication.models.Domains;
import com.azure.resourcemanager.communication.models.EmailServices;
import com.azure.resourcemanager.communication.models.Operations;
import com.azure.resourcemanager.communication.models.SenderUsernames;
import com.azure.resourcemanager.communication.models.SuppressionListAddresses;
import com.azure.resourcemanager.communication.models.SuppressionLists;
import java.time.Duration;
import java.time.temporal.ChronoUnit;
import java.util.ArrayList;
Expand All @@ -61,10 +57,6 @@ public final class CommunicationManager {

private SenderUsernames senderUsernames;

private SuppressionLists suppressionLists;

private SuppressionListAddresses suppressionListAddresses;

private final CommunicationServiceManagementClient clientObject;

private CommunicationManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
Expand Down Expand Up @@ -224,7 +216,7 @@ public CommunicationManager authenticate(TokenCredential credential, AzureProfil

StringBuilder userAgentBuilder = new StringBuilder();
userAgentBuilder.append("azsdk-java").append("-").append("com.azure.resourcemanager.communication")
.append("/").append("2.1.0-beta.2");
.append("/").append("2.1.0");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder.append(" (").append(Configuration.getGlobalConfiguration().get("java.version"))
.append("; ").append(Configuration.getGlobalConfiguration().get("os.name")).append("; ")
Expand Down Expand Up @@ -323,31 +315,6 @@ public SenderUsernames senderUsernames() {
return senderUsernames;
}

/**
* Gets the resource collection API of SuppressionLists. It manages SuppressionListResource.
*
* @return Resource collection API of SuppressionLists.
*/
public SuppressionLists suppressionLists() {
if (this.suppressionLists == null) {
this.suppressionLists = new SuppressionListsImpl(clientObject.getSuppressionLists(), this);
}
return suppressionLists;
}

/**
* Gets the resource collection API of SuppressionListAddresses. It manages SuppressionListAddressResource.
*
* @return Resource collection API of SuppressionListAddresses.
*/
public SuppressionListAddresses suppressionListAddresses() {
if (this.suppressionListAddresses == null) {
this.suppressionListAddresses
= new SuppressionListAddressesImpl(clientObject.getSuppressionListAddresses(), this);
}
return suppressionListAddresses;
}

/**
* Gets wrapped service client CommunicationServiceManagementClient providing direct access to the underlying
* auto-generated API implementation, based on Azure REST API.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,18 +80,4 @@ public interface CommunicationServiceManagementClient {
* @return the SenderUsernamesClient object.
*/
SenderUsernamesClient getSenderUsernames();

/**
* Gets the SuppressionListsClient object to access its operations.
*
* @return the SuppressionListsClient object.
*/
SuppressionListsClient getSuppressionLists();

/**
* Gets the SuppressionListAddressesClient object to access its operations.
*
* @return the SuppressionListAddressesClient object.
*/
SuppressionListAddressesClient getSuppressionListAddresses();
}

This file was deleted.

Loading

0 comments on commit df45bd2

Please sign in to comment.