Skip to content

Commit bc0c321

Browse files
authored
[Automation] Generate Fluent Lite from Swagger apimanagement#package-2022-08 (#43163)
1 parent 5f105a0 commit bc0c321

File tree

2,004 files changed

+62707
-39725
lines changed

Some content is hidden

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

2,004 files changed

+62707
-39725
lines changed

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

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

3-
## 1.0.0-beta.5 (Unreleased)
3+
## 1.0.0-beta.5 (2024-12-03)
44

5-
### Features Added
5+
- Azure Resource Manager ApiManagement client library for Java. This package contains Microsoft Azure SDK for ApiManagement Management SDK. ApiManagement Client. Package tag package-2022-08. 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.PortalSettingsContract` was modified
23+
24+
* `name()` was added
25+
* `id()` was added
26+
* `type()` was added
27+
28+
#### `models.AssociationContract` was modified
29+
30+
* `id()` was added
31+
* `name()` was added
32+
* `type()` was added
33+
34+
#### `models.ResourceCollectionValueItem` was modified
35+
36+
* `name()` was added
37+
* `id()` was added
38+
* `type()` was added
39+
40+
#### `models.ApiManagementServiceUpdateParameters` was modified
41+
42+
* `name()` was added
43+
* `id()` was added
44+
* `type()` was added
45+
46+
#### `models.AuthorizationServerUpdateContract` was modified
47+
48+
* `name()` was added
49+
* `id()` was added
50+
* `type()` was added
51+
52+
#### `models.ApimResource` was modified
53+
54+
* `id()` was added
55+
* `name()` was added
56+
* `type()` was added
57+
58+
#### `models.BackendReconnectContract` was modified
59+
60+
* `id()` was added
61+
* `type()` was added
62+
* `name()` was added
63+
64+
#### `models.ApiTagResourceContractProperties` was modified
65+
66+
* `isOnline()` was added
1067

11-
### Other Changes
68+
#### `models.NamedValueCreateContract` was modified
69+
70+
* `name()` was added
71+
* `id()` was added
72+
* `type()` was added
73+
74+
#### `models.PolicyDescriptionContract` was modified
75+
76+
* `name()` was added
77+
* `id()` was added
78+
* `type()` was added
79+
80+
#### `models.IdentityProviderCreateContract` was modified
81+
82+
* `name()` was added
83+
* `id()` was added
84+
* `type()` was added
1285

1386
## 1.0.0-beta.4 (2023-08-25)
1487

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

Lines changed: 7 additions & 11 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-apimanagement</artifactId>
35-
<version>1.0.0-beta.4</version>
35+
<version>1.0.0-beta.5</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, Azure Active Directory 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);
@@ -75,8 +71,7 @@ See [API design][design] for general introduction on design and key concepts on
7571
## Examples
7672

7773
```java
78-
resource = apiManagementManager
79-
.apiManagementServices()
74+
resource = apiManagementManager.apiManagementServices()
8075
.define(serviceName)
8176
.withRegion(REGION)
8277
.withExistingResourceGroup(resourceGroupName)
@@ -106,9 +101,10 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
106101
<!-- LINKS -->
107102
[survey]: https://microsoft.qualtrics.com/jfe/form/SV_ehN0lIk2FKEBkwd?Q_CHL=DOCS
108103
[docs]: https://azure.github.io/azure-sdk-for-java/
109-
[jdk]: https://docs.microsoft.com/java/azure/jdk/
104+
[jdk]: https://learn.microsoft.com/azure/developer/java/fundamentals/
110105
[azure_subscription]: https://azure.microsoft.com/free/
111106
[azure_identity]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/identity/azure-identity
107+
[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/identity/azure-identity#credentials
112108
[azure_core_http_netty]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/core/azure-core-http-netty
113109
[authenticate]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/AUTH.md
114110
[design]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/DESIGN.md

0 commit comments

Comments
 (0)