Skip to content

Commit 84b45bb

Browse files
authored
[Automation] Generate Fluent Lite from Swagger apicenter#package-2024-03 (#43385)
1 parent 97cd287 commit 84b45bb

File tree

180 files changed

+3020
-1846
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

180 files changed

+3020
-1846
lines changed

eng/versioning/version_client.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ com.azure.resourcemanager:azure-resourcemanager-sphere;1.0.0;1.1.0-beta.1
449449
com.azure.resourcemanager:azure-resourcemanager-chaos;1.1.0;1.2.0-beta.1
450450
com.azure.resourcemanager:azure-resourcemanager-defendereasm;1.0.0-beta.2;1.0.0-beta.3
451451
com.azure.resourcemanager:azure-resourcemanager-hdinsight-containers;1.0.0-beta.3;1.0.0-beta.4
452-
com.azure.resourcemanager:azure-resourcemanager-apicenter;1.0.0;1.1.0-beta.1
452+
com.azure.resourcemanager:azure-resourcemanager-apicenter;1.0.0;1.1.0
453453
com.azure.resourcemanager:azure-resourcemanager-hybridconnectivity;1.1.0;1.2.0-beta.1
454454
com.azure.resourcemanager:azure-resourcemanager-playwrighttesting;1.0.0-beta.3;1.0.0-beta.4
455455
com.azure.resourcemanager:azure-resourcemanager-recoveryservicesdatareplication;1.0.0-beta.2;1.0.0-beta.3

sdk/apicenter/azure-resourcemanager-apicenter/CHANGELOG.md

Lines changed: 41 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,51 @@
11
# Release History
22

3-
## 1.1.0-beta.1 (Unreleased)
3+
## 1.1.0 (2024-12-13)
44

5-
### Features Added
5+
- Azure Resource Manager ApiCenter client library for Java. This package contains Microsoft Azure SDK for ApiCenter Management SDK. Azure API Center Resource Provider. Package tag package-2024-03. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
66

77
### Breaking Changes
88

9-
### Bugs Fixed
9+
#### Serialization/Deserialization change
10+
11+
- `Jackson` is removed from dependency and no longer supported.
12+
13+
##### Migration Guide
14+
15+
If you are using `Jackson`/`ObjectMapper` for manual serialization/deserialization, configure your `ObjectMapper` for backward compatibility:
16+
```java
17+
objectMapper.registerModule(com.azure.core.serializer.json.jackson.JacksonJsonProvider.getJsonSerializableDatabindModule());
18+
```
19+
20+
### Features Added
21+
22+
#### `models.MetadataSchema$Update` was modified
23+
24+
* `withProperties(models.MetadataSchemaProperties)` was added
25+
26+
#### `models.Environment$Update` was modified
27+
28+
* `withProperties(models.EnvironmentProperties)` was added
29+
30+
#### `models.Workspace$Update` was modified
31+
32+
* `withProperties(models.WorkspaceProperties)` was added
33+
34+
#### `models.Api$Update` was modified
35+
36+
* `withProperties(models.ApiProperties)` was added
37+
38+
#### `models.Deployment$Update` was modified
39+
40+
* `withProperties(models.DeploymentProperties)` was added
41+
42+
#### `models.ApiVersion$Update` was modified
43+
44+
* `withProperties(models.ApiVersionProperties)` was added
45+
46+
#### `models.ApiDefinition$Update` was modified
1047

11-
### Other Changes
48+
* `withProperties(models.ApiDefinitionProperties)` was added
1249

1350
## 1.0.0 (2024-02-22)
1451

sdk/apicenter/azure-resourcemanager-apicenter/README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
3232
<dependency>
3333
<groupId>com.azure.resourcemanager</groupId>
3434
<artifactId>azure-resourcemanager-apicenter</artifactId>
35-
<version>1.0.0</version>
35+
<version>1.1.0</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})
@@ -45,15 +45,11 @@ Azure Management Libraries require a `TokenCredential` implementation for authen
4545

4646
### Authentication
4747

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

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

54-
In addition, Azure subscription ID can be configured via `AZURE_SUBSCRIPTION_ID` environment variable.
55-
56-
With above configuration, `azure` client can be authenticated using the following code:
52+
Assuming the use of the `DefaultAzureCredential` credential class, the client can be authenticated using the following code:
5753

5854
```java
5955
AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
@@ -74,6 +70,13 @@ See [API design][design] for general introduction on design and key concepts on
7470

7571
## Examples
7672

73+
```java
74+
service = apiCenterManager.services()
75+
.define(serviceName)
76+
.withRegion(REGION)
77+
.withExistingResourceGroup(resourceGroupName)
78+
.create();
79+
```
7780
[Code snippets and samples](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/apicenter/azure-resourcemanager-apicenter/SAMPLE.md)
7881

7982

@@ -97,6 +100,7 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
97100
[jdk]: https://learn.microsoft.com/azure/developer/java/fundamentals/
98101
[azure_subscription]: https://azure.microsoft.com/free/
99102
[azure_identity]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/identity/azure-identity
103+
[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/identity/azure-identity#credentials
100104
[azure_core_http_netty]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/core/azure-core-http-netty
101105
[authenticate]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/AUTH.md
102106
[design]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/DESIGN.md

0 commit comments

Comments
 (0)