Skip to content

Commit 09199d2

Browse files
author
SDKAuto
committed
CodeGen from PR 34195 in Azure/azure-rest-api-specs
Merge 05e3b34ca6e85bacef43eee8b80fdf5f5780b9d7 into 30355bb16e2dc552d4e91556a87ae38e6d9c0d46
1 parent c85fbe4 commit 09199d2

File tree

245 files changed

+48771
-1
lines changed

Some content is hidden

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

245 files changed

+48771
-1
lines changed

eng/versioning/version_client.txt

+1
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ com.azure.spring:spring-cloud-azure-stream-binder-servicebus-core;5.22.0;5.23.0-
256256
com.azure.spring:spring-cloud-azure-stream-binder-servicebus;5.22.0;5.23.0-beta.1
257257
com.azure.spring:spring-cloud-azure-testcontainers;5.22.0;5.23.0-beta.1
258258
com.azure:azure-spring-data-cosmos;5.22.0;5.23.0-beta.1
259+
com.azure:azure-ai-agents-persistent;1.0.0-beta.1;1.0.0-beta.1
259260
com.azure.resourcemanager:azure-resourcemanager;2.49.0;2.50.0-beta.1
260261
com.azure.resourcemanager:azure-resourcemanager-appplatform;2.49.0;2.50.0-beta.1
261262
com.azure.resourcemanager:azure-resourcemanager-appservice;2.49.0;2.50.0-beta.1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Release History
2+
3+
## 1.0.0-beta.1 (Unreleased)
4+
5+
- Azure Agents client library for Java. This package contains Microsoft Azure Agents client library.
6+
7+
### Features Added
8+
9+
### Breaking Changes
10+
11+
### Bugs Fixed
12+
13+
### Other Changes
14+
### Features Added
15+
16+
- Initial release for the azure-ai-agents-persistent Java SDK.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# Azure Agents client library for Java
2+
3+
Azure Agents client library for Java.
4+
5+
This package contains Microsoft Azure Agents client library.
6+
7+
## Documentation
8+
9+
Various documentation is available to help you get started
10+
11+
- [API reference documentation][docs]
12+
- [Product documentation][product_documentation]
13+
14+
## Getting started
15+
16+
### Prerequisites
17+
18+
- [Java Development Kit (JDK)][jdk] with version 8 or above
19+
- [Azure Subscription][azure_subscription]
20+
21+
### Adding the package to your product
22+
23+
[//]: # ({x-version-update-start;com.azure:azure-ai-agents-persistent;current})
24+
```xml
25+
<dependency>
26+
<groupId>com.azure</groupId>
27+
<artifactId>azure-ai-agents-persistent</artifactId>
28+
<version>1.0.0-beta.1</version>
29+
</dependency>
30+
```
31+
[//]: # ({x-version-update-end})
32+
33+
### Authentication
34+
35+
[Azure Identity][azure_identity] package provides the default implementation for authenticating the client.
36+
37+
## Key concepts
38+
39+
## Examples
40+
41+
```java com.azure.ai.agents.persistent.readme
42+
```
43+
44+
### Service API versions
45+
46+
The client library targets the latest service API version by default.
47+
The service client builder accepts an optional service API version parameter to specify which API version to communicate.
48+
49+
#### Select a service API version
50+
51+
You have the flexibility to explicitly select a supported service API version when initializing a service client via the service client builder.
52+
This ensures that the client can communicate with services using the specified API version.
53+
54+
When selecting an API version, it is important to verify that there are no breaking changes compared to the latest API version.
55+
If there are significant differences, API calls may fail due to incompatibility.
56+
57+
Always ensure that the chosen API version is fully supported and operational for your specific use case and that it aligns with the service's versioning policy.
58+
59+
## Troubleshooting
60+
61+
## Next steps
62+
63+
## Contributing
64+
65+
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md).
66+
67+
1. Fork it
68+
1. Create your feature branch (`git checkout -b my-new-feature`)
69+
1. Commit your changes (`git commit -am 'Add some feature'`)
70+
1. Push to the branch (`git push origin my-new-feature`)
71+
1. Create new Pull Request
72+
73+
<!-- LINKS -->
74+
[product_documentation]: https://azure.microsoft.com/services/
75+
[docs]: https://azure.github.io/azure-sdk-for-java/
76+
[jdk]: https://learn.microsoft.com/azure/developer/java/fundamentals/
77+
[azure_subscription]: https://azure.microsoft.com/free/
78+
[azure_identity]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/identity/azure-identity
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"AssetsRepo":"Azure/azure-sdk-assets","AssetsRepoPrefixPath":"java","TagPrefix":"java/ai/azure-ai-agents-persistent","Tag":""}
+71
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<!--
2+
~ Copyright (c) Microsoft Corporation. All rights reserved.
3+
~ Licensed under the MIT License.
4+
~ Code generated by Microsoft (R) TypeSpec Code Generator.
5+
-->
6+
<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">
7+
<modelVersion>4.0.0</modelVersion>
8+
<parent>
9+
<groupId>com.azure</groupId>
10+
<artifactId>azure-client-sdk-parent</artifactId>
11+
<version>1.7.0</version> <!-- {x-version-update;com.azure:azure-client-sdk-parent;current} -->
12+
<relativePath>../../parents/azure-client-sdk-parent</relativePath>
13+
</parent>
14+
15+
<groupId>com.azure</groupId>
16+
<artifactId>azure-ai-agents-persistent</artifactId>
17+
<version>1.0.0-beta.1</version> <!-- {x-version-update;com.azure:azure-ai-agents-persistent;current} -->
18+
<packaging>jar</packaging>
19+
20+
<name>Microsoft Azure SDK for Agents</name>
21+
<description>This package contains Microsoft Azure Agents client library.</description>
22+
<url>https://github.com/Azure/azure-sdk-for-java</url>
23+
24+
<licenses>
25+
<license>
26+
<name>The MIT License (MIT)</name>
27+
<url>http://opensource.org/licenses/MIT</url>
28+
<distribution>repo</distribution>
29+
</license>
30+
</licenses>
31+
32+
<scm>
33+
<url>https://github.com/Azure/azure-sdk-for-java</url>
34+
<connection>scm:git:[email protected]:Azure/azure-sdk-for-java.git</connection>
35+
<developerConnection>scm:git:[email protected]:Azure/azure-sdk-for-java.git</developerConnection>
36+
<tag>HEAD</tag>
37+
</scm>
38+
<developers>
39+
<developer>
40+
<id>microsoft</id>
41+
<name>Microsoft</name>
42+
</developer>
43+
</developers>
44+
<properties>
45+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
46+
</properties>
47+
<dependencies>
48+
<dependency>
49+
<groupId>com.azure</groupId>
50+
<artifactId>azure-core</artifactId>
51+
<version>1.55.3</version> <!-- {x-version-update;com.azure:azure-core;dependency} -->
52+
</dependency>
53+
<dependency>
54+
<groupId>com.azure</groupId>
55+
<artifactId>azure-core-http-netty</artifactId>
56+
<version>1.15.11</version> <!-- {x-version-update;com.azure:azure-core-http-netty;dependency} -->
57+
</dependency>
58+
<dependency>
59+
<groupId>com.azure</groupId>
60+
<artifactId>azure-core-test</artifactId>
61+
<version>1.27.0-beta.8</version> <!-- {x-version-update;com.azure:azure-core-test;dependency} -->
62+
<scope>test</scope>
63+
</dependency>
64+
<dependency>
65+
<groupId>com.azure</groupId>
66+
<artifactId>azure-identity</artifactId>
67+
<version>1.15.4</version> <!-- {x-version-update;com.azure:azure-identity;dependency} -->
68+
<scope>test</scope>
69+
</dependency>
70+
</dependencies>
71+
</project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
// Code generated by Microsoft (R) TypeSpec Code Generator.
4+
5+
package com.azure.ai.agents.persistent;
6+
7+
import com.azure.core.util.ServiceVersion;
8+
9+
/**
10+
* Service version of AgentsClient.
11+
*/
12+
public enum AgentsServiceVersion implements ServiceVersion {
13+
/**
14+
* Enum value 2025-05-15-preview.
15+
*/
16+
V2025_05_15_PREVIEW("2025-05-15-preview");
17+
18+
private final String version;
19+
20+
AgentsServiceVersion(String version) {
21+
this.version = version;
22+
}
23+
24+
/**
25+
* {@inheritDoc}
26+
*/
27+
@Override
28+
public String getVersion() {
29+
return this.version;
30+
}
31+
32+
/**
33+
* Gets the latest service version supported by this client library.
34+
*
35+
* @return The latest {@link AgentsServiceVersion}.
36+
*/
37+
public static AgentsServiceVersion getLatest() {
38+
return V2025_05_15_PREVIEW;
39+
}
40+
}

0 commit comments

Comments
 (0)