Skip to content

Commit

Permalink
CodeGen from PR 30711 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge e89015b5129f2ea3fc8a90d61939ecce260433e1 into c4f4021bea5eee306fa202df3c7e19271a9f1f96
  • Loading branch information
SDKAuto committed Oct 8, 2024
1 parent b471408 commit 372b736
Show file tree
Hide file tree
Showing 172 changed files with 6,418 additions and 2,810 deletions.
208 changes: 204 additions & 4 deletions sdk/redisenterprise/azure-resourcemanager-redisenterprise/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,214 @@
# Release History

## 2.1.0-beta.2 (Unreleased)
## 1.0.0-beta.1 (2024-10-08)

- Azure Resource Manager RedisEnterprise client library for Java. This package contains Microsoft Azure SDK for RedisEnterprise Management SDK. REST API for managing Redis Enterprise resources in Azure. Package tag package-preview-2024-09. 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.AccessKeysAuthentication` was added

* `models.AccessPolicyAssignment$DefinitionStages` was added

* `models.HighAvailability` was added

* `models.AccessPolicyAssignments` was added

* `models.AccessPolicyAssignment$Definition` was added

* `models.AccessPolicyAssignmentPropertiesUser` was added

* `models.AccessPolicyAssignment$UpdateStages` was added

* `models.RedundancyMode` was added

* `models.AccessPolicyAssignmentList` was added

* `models.AccessPolicyAssignment` was added

* `models.ForceLinkParameters` was added

* `models.AccessPolicyAssignment$Update` was added

* `models.DeferUpgradeSetting` was added

#### `models.ManagedServiceIdentity` was modified

* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

#### `models.ClusterUpdate` was modified

* `toJson(com.azure.json.JsonWriter)` was added
* `withHighAvailability(models.HighAvailability)` was added
* `fromJson(com.azure.json.JsonReader)` was added
* `highAvailability()` was added
* `redundancyMode()` was added

#### `models.ForceUnlinkParameters` was modified

* `toJson(com.azure.json.JsonWriter)` was added
* `fromJson(com.azure.json.JsonReader)` was added

#### `models.UserAssignedIdentity` was modified

* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

#### `models.PrivateLinkResourceListResult` was modified

* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

#### `models.DatabaseUpdate` was modified

* `withAccessKeysAuthentication(models.AccessKeysAuthentication)` was added
* `redisVersion()` was added
* `toJson(com.azure.json.JsonWriter)` was added
* `withDeferUpgrade(models.DeferUpgradeSetting)` was added
* `fromJson(com.azure.json.JsonReader)` was added
* `accessKeysAuthentication()` was added
* `deferUpgrade()` was added

#### `models.Module` was modified

* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

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

* `withHighAvailability(models.HighAvailability)` was added

#### `models.PrivateEndpoint` was modified

* `toJson(com.azure.json.JsonWriter)` was added
* `fromJson(com.azure.json.JsonReader)` was added

#### `models.Sku` was modified

* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

#### `models.ClusterPropertiesEncryption` was modified

* `toJson(com.azure.json.JsonWriter)` was added
* `fromJson(com.azure.json.JsonReader)` was added

#### `models.DatabasePropertiesGeoReplication` was modified

* `toJson(com.azure.json.JsonWriter)` was added
* `fromJson(com.azure.json.JsonReader)` was added

#### `models.RegenerateKeyParameters` was modified

* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

#### `models.LinkedDatabase` was modified

* `toJson(com.azure.json.JsonWriter)` was added
* `fromJson(com.azure.json.JsonReader)` was added

#### `RedisEnterpriseManager` was modified

* `accessPolicyAssignments()` was added

#### `models.PrivateLinkServiceConnectionState` was modified

### Bugs Fixed
* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

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

* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

#### `models.PrivateEndpointConnectionListResult` was modified

* `toJson(com.azure.json.JsonWriter)` was added
* `fromJson(com.azure.json.JsonReader)` was added

#### `models.OperationListResult` was modified

* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

#### `models.Database$Definition` was modified

* `withDeferUpgrade(models.DeferUpgradeSetting)` was added
* `withAccessKeysAuthentication(models.AccessKeysAuthentication)` was added

#### `models.ImportClusterParameters` was modified

* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

#### `models.Cluster$Definition` was modified

* `withHighAvailability(models.HighAvailability)` was added

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

* `withAccessKeysAuthentication(models.AccessKeysAuthentication)` was added
* `withDeferUpgrade(models.DeferUpgradeSetting)` was added

#### `models.FlushParameters` was modified

* `toJson(com.azure.json.JsonWriter)` was added
* `fromJson(com.azure.json.JsonReader)` was added

#### `models.Database` was modified

* `forceLinkToReplicationGroup(models.ForceLinkParameters,com.azure.core.util.Context)` was added
* `upgradeDBRedisVersion(com.azure.core.util.Context)` was added
* `accessKeysAuthentication()` was added
* `upgradeDBRedisVersion()` was added
* `redisVersion()` was added
* `deferUpgrade()` was added
* `systemData()` was added
* `forceLinkToReplicationGroup(models.ForceLinkParameters)` was added

#### `models.ClusterList` was modified

* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

#### `models.OperationDisplay` was modified

* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

#### `models.ExportClusterParameters` was modified

* `toJson(com.azure.json.JsonWriter)` was added
* `fromJson(com.azure.json.JsonReader)` was added

#### `models.Persistence` was modified

* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

#### `models.DatabaseList` was modified

* `toJson(com.azure.json.JsonWriter)` was added
* `fromJson(com.azure.json.JsonReader)` was added

#### `models.ClusterPropertiesEncryptionCustomerManagedKeyEncryption` was modified

* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

#### `models.Cluster` was modified

* `highAvailability()` was added
* `redundancyMode()` was added

#### `models.Databases` was modified

* `upgradeDBRedisVersion(java.lang.String,java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
* `forceLinkToReplicationGroup(java.lang.String,java.lang.String,java.lang.String,models.ForceLinkParameters,com.azure.core.util.Context)` was added
* `forceLinkToReplicationGroup(java.lang.String,java.lang.String,java.lang.String,models.ForceLinkParameters)` was added
* `upgradeDBRedisVersion(java.lang.String,java.lang.String,java.lang.String)` was added

## 2.1.0-beta.1 (2024-05-20)

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

Azure Resource Manager RedisEnterprise client library for Java.

This package contains Microsoft Azure SDK for RedisEnterprise Management SDK. REST API for managing Redis Enterprise resources in Azure. Package tag package-preview-2024-03. 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 RedisEnterprise Management SDK. REST API for managing Redis Enterprise resources in Azure. Package tag package-preview-2024-09. 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-redisenterprise</artifactId>
<version>2.1.0-beta.1</version>
<version>2.1.0-beta.2</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand All @@ -45,15 +45,11 @@ Azure Management Libraries require a `TokenCredential` implementation for authen

### Authentication

By default, Microsoft Entra ID token authentication depends on correct configuration of the following environment variables.
Microsoft Entra ID token authentication relies on the [credential class][azure_identity_credentials] from [Azure Identity][azure_identity] package.

- `AZURE_CLIENT_ID` for Azure client ID.
- `AZURE_TENANT_ID` for Azure tenant ID.
- `AZURE_CLIENT_SECRET` or `AZURE_CLIENT_CERTIFICATE_PATH` for client secret or client certificate.
Azure subscription ID can be configured via `AZURE_SUBSCRIPTION_ID` environment variable.

In addition, Azure subscription ID can be configured via `AZURE_SUBSCRIPTION_ID` environment variable.

With above configuration, `azure` client can be authenticated using the following code:
Assuming the use of the `DefaultAzureCredential` credential class, the client can be authenticated using the following code:

```java
AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
Expand Down Expand Up @@ -107,6 +103,7 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
[jdk]: https://learn.microsoft.com/azure/developer/java/fundamentals/
[azure_subscription]: https://azure.microsoft.com/free/
[azure_identity]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/identity/azure-identity
[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/identity/azure-identity#credentials
[azure_core_http_netty]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/core/azure-core-http-netty
[authenticate]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/AUTH.md
[design]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/DESIGN.md
Expand Down
Loading

0 comments on commit 372b736

Please sign in to comment.