diff --git a/eng/emitter-package-lock.json b/eng/emitter-package-lock.json index 06a3cb00b364..7fa6222c3a8f 100644 --- a/eng/emitter-package-lock.json +++ b/eng/emitter-package-lock.json @@ -5,12 +5,12 @@ "packages": { "": { "dependencies": { - "@azure-tools/typespec-java": "0.32.0" + "@azure-tools/typespec-java": "/mnt/vss/_work/1/s/autorest.java/typespec-extension/azure-tools-typespec-java-0.32.1.tgz" }, "devDependencies": { "@azure-tools/typespec-autorest": "0.59.0", "@azure-tools/typespec-azure-core": "0.59.0", - "@azure-tools/typespec-azure-resource-manager": "0.59.0", + "@azure-tools/typespec-azure-resource-manager": "0.59.1", "@azure-tools/typespec-azure-rulesets": "0.59.0", "@azure-tools/typespec-client-generator-core": "0.59.0", "@azure-tools/typespec-liftr-base": "0.8.0", @@ -105,9 +105,9 @@ } }, "node_modules/@azure-tools/typespec-azure-resource-manager": { - "version": "0.59.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-resource-manager/-/typespec-azure-resource-manager-0.59.0.tgz", - "integrity": "sha512-q0UkBnwWE4+9ivAkwAOOrDF9kvSb+qRIvMXJdUlqGfwFqDkOvQFwHSzSDeL/mBNK2fB9NIePKPFjDGP9lpC0vQ==", + "version": "0.59.1", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-resource-manager/-/typespec-azure-resource-manager-0.59.1.tgz", + "integrity": "sha512-miZW7g0mIvUuJrnxYEVBly+wMbzC1Ki824WxlLSTjNJirEolprnLVDxY1Ih+sreGu7HJ6VtCmPQX0NuHH2DFDQ==", "license": "MIT", "dependencies": { "change-case": "~5.4.4", @@ -167,9 +167,9 @@ } }, "node_modules/@azure-tools/typespec-java": { - "version": "0.32.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-java/-/typespec-java-0.32.0.tgz", - "integrity": "sha512-OKah03sGw7LbgBaNYVvd1WSRSX1hWr2ICsVzPqriOSWlAeMkpK9sJLabaPA6aigK6VJbjBzwQwiNlYzjNLwCWQ==", + "version": "0.32.1", + "resolved": "file:../../autorest.java/typespec-extension/azure-tools-typespec-java-0.32.1.tgz", + "integrity": "sha512-6yIoKxr0bSoAcKaFQzNk7POopKJSfFJFxT4MPBN6JqsJfbUE/I2tpC8fOpIek3FvEZNhIykiFm+CRCsoNc8ObA==", "license": "MIT", "dependencies": { "@autorest/codemodel": "~4.20.1", @@ -182,7 +182,7 @@ "peerDependencies": { "@azure-tools/typespec-autorest": ">=0.59.0 <1.0.0", "@azure-tools/typespec-azure-core": ">=0.59.0 <1.0.0", - "@azure-tools/typespec-azure-resource-manager": ">=0.59.0 <1.0.0", + "@azure-tools/typespec-azure-resource-manager": ">=0.59.1 <1.0.0", "@azure-tools/typespec-azure-rulesets": ">=0.59.0 <1.0.0", "@azure-tools/typespec-client-generator-core": ">=0.59.0 <1.0.0", "@azure-tools/typespec-liftr-base": ">=0.8.0 <1.0.0", @@ -223,9 +223,9 @@ } }, "node_modules/@inquirer/checkbox": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.2.0.tgz", - "integrity": "sha512-fdSw07FLJEU5vbpOPzXo5c6xmMGDzbZE2+niuDHX5N6mc6V0Ebso/q3xiHra4D73+PMsC8MJmcaZKuAAoaQsSA==", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.2.1.tgz", + "integrity": "sha512-bevKGO6kX1eM/N+pdh9leS5L7TBF4ICrzi9a+cbWkrxeAeIcwlo/7OfWGCDERdRCI2/Q6tjltX4bt07ALHDwFw==", "license": "MIT", "dependencies": { "@inquirer/core": "^10.1.15", @@ -295,14 +295,14 @@ } }, "node_modules/@inquirer/editor": { - "version": "4.2.15", - "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.15.tgz", - "integrity": "sha512-wst31XT8DnGOSS4nNJDIklGKnf+8shuauVrWzgKegWUe28zfCftcWZ2vktGdzJgcylWSS2SrDnYUb6alZcwnCQ==", + "version": "4.2.17", + "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.17.tgz", + "integrity": "sha512-r6bQLsyPSzbWrZZ9ufoWL+CztkSatnJ6uSxqd6N+o41EZC51sQeWOzI6s5jLb+xxTWxl7PlUppqm8/sow241gg==", "license": "MIT", "dependencies": { "@inquirer/core": "^10.1.15", - "@inquirer/type": "^3.0.8", - "external-editor": "^3.1.0" + "@inquirer/external-editor": "^1.0.1", + "@inquirer/type": "^3.0.8" }, "engines": { "node": ">=18" @@ -338,6 +338,27 @@ } } }, + "node_modules/@inquirer/external-editor": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.1.tgz", + "integrity": "sha512-Oau4yL24d2B5IL4ma4UpbQigkVhzPDXLoqy1ggK4gnHg/stmkffJE4oOXHXF3uz0UEpywG68KcyXsyYpA1Re/Q==", + "license": "MIT", + "dependencies": { + "chardet": "^2.1.0", + "iconv-lite": "^0.6.3" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, "node_modules/@inquirer/figures": { "version": "1.0.13", "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.13.tgz", @@ -412,14 +433,14 @@ } }, "node_modules/@inquirer/prompts": { - "version": "7.8.0", - "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.8.0.tgz", - "integrity": "sha512-JHwGbQ6wjf1dxxnalDYpZwZxUEosT+6CPGD9Zh4sm9WXdtUp9XODCQD3NjSTmu+0OAyxWXNOqf0spjIymJa2Tw==", + "version": "7.8.2", + "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.8.2.tgz", + "integrity": "sha512-nqhDw2ZcAUrKNPwhjinJny903bRhI0rQhiDz1LksjeRxqa36i3l75+4iXbOy0rlDpLJGxqtgoPavQjmmyS5UJw==", "license": "MIT", "dependencies": { - "@inquirer/checkbox": "^4.2.0", + "@inquirer/checkbox": "^4.2.1", "@inquirer/confirm": "^5.1.14", - "@inquirer/editor": "^4.2.15", + "@inquirer/editor": "^4.2.17", "@inquirer/expand": "^4.0.17", "@inquirer/input": "^4.2.1", "@inquirer/number": "^3.0.17", @@ -807,9 +828,9 @@ "license": "MIT" }, "node_modules/chardet": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", - "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-2.1.0.tgz", + "integrity": "sha512-bNFETTG/pM5ryzQ9Ad0lJOTa6HWD/YsScAR3EnCPZRPlQh77JocYktSHOUHelyhm8IARL+o4c4F1bP5KVOjiRA==", "license": "MIT" }, "node_modules/chownr": { @@ -968,20 +989,6 @@ "node": ">=6" } }, - "node_modules/external-editor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", - "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", - "license": "MIT", - "dependencies": { - "chardet": "^0.7.0", - "iconv-lite": "^0.4.24", - "tmp": "^0.0.33" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", @@ -1101,12 +1108,12 @@ "license": "ISC" }, "node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", "license": "MIT", "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" + "safer-buffer": ">= 2.1.2 < 3.0.0" }, "engines": { "node": ">=0.10.0" @@ -1278,15 +1285,6 @@ "node": "^18.17.0 || >=20.5.0" } }, - "node_modules/os-tmpdir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/path-type": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-6.0.0.tgz", @@ -1525,18 +1523,6 @@ "integrity": "sha512-n+noVpIqz4hYgFSMOSiINNOUOMFtV5cZQNCmmszA6GiVFVRt3G7AqVyhXjhCSmowvQn+NsGn+jMDMKJYHd3bSQ==", "license": "ISC" }, - "node_modules/tmp": { - "version": "0.0.33", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", - "license": "MIT", - "dependencies": { - "os-tmpdir": "~1.0.2" - }, - "engines": { - "node": ">=0.6.0" - } - }, "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", diff --git a/eng/emitter-package.json b/eng/emitter-package.json index 29fb92ae2357..d454a83dc1f1 100644 --- a/eng/emitter-package.json +++ b/eng/emitter-package.json @@ -1,12 +1,12 @@ { "main": "dist/src/index.js", "dependencies": { - "@azure-tools/typespec-java": "0.32.0" + "@azure-tools/typespec-java": "/mnt/vss/_work/1/s/autorest.java/typespec-extension/azure-tools-typespec-java-0.32.1.tgz" }, "devDependencies": { "@azure-tools/typespec-autorest": "0.59.0", "@azure-tools/typespec-azure-core": "0.59.0", - "@azure-tools/typespec-azure-resource-manager": "0.59.0", + "@azure-tools/typespec-azure-resource-manager": "0.59.1", "@azure-tools/typespec-azure-rulesets": "0.59.0", "@azure-tools/typespec-client-generator-core": "0.59.0", "@azure-tools/typespec-liftr-base": "0.8.0", diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java index 5581dcdf9741..63251279fc21 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsAsyncClient.java @@ -5,6 +5,7 @@ import com.azure.ai.projects.implementation.DatasetsImpl; import com.azure.ai.projects.implementation.JsonMergePatchHelper; +import com.azure.ai.projects.implementation.models.PagedDatasetVersion; import com.azure.ai.projects.models.AssetCredentialResult; import com.azure.ai.projects.models.DatasetVersion; import com.azure.ai.projects.models.FileDatasetVersion; @@ -272,42 +273,6 @@ public Mono createDatasetWithFolder(String name, String ve }); } - /** - * List all versions of the given DatasetVersion. - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     type: String(uri_file/uri_folder) (Required)
-     *     dataUri: String (Optional, Required on create)
-     *     isReference: Boolean (Optional)
-     *     connectionName: String (Optional)
-     *     id: String (Optional)
-     *     name: String (Required)
-     *     version: String (Required)
-     *     description: String (Optional)
-     *     tags (Optional): {
-     *         String: String (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param name The name of the resource. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return paged collection of DatasetVersion items as paginated response with {@link PagedFlux}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listDatasetVersions(String name, RequestOptions requestOptions) { - return this.serviceClient.listDatasetVersionsAsync(name, requestOptions); - } - /** * List the latest version of each DatasetVersion. *

Response Body Schema

@@ -471,26 +436,15 @@ public Mono> createOrUpdateDatasetVersionWithResponse(Strin * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return paged collection of DatasetVersion items as paginated response with {@link PagedFlux}. + * @return paged collection of DatasetVersion items on successful completion of {@link Mono}. */ @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listDatasetVersions(String name) { - // Generated convenience method for listDatasetVersions + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono listDatasetVersions(String name) { + // Generated convenience method for listDatasetVersionsWithResponse RequestOptions requestOptions = new RequestOptions(); - PagedFlux pagedFluxResponse = listDatasetVersions(name, requestOptions); - return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { - Flux> flux = (continuationTokenParam == null) - ? pagedFluxResponse.byPage().take(1) - : pagedFluxResponse.byPage(continuationTokenParam).take(1); - return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), - pagedResponse.getStatusCode(), pagedResponse.getHeaders(), - pagedResponse.getValue() - .stream() - .map(protocolMethodData -> protocolMethodData.toObject(DatasetVersion.class)) - .collect(Collectors.toList()), - pagedResponse.getContinuationToken(), null)); - }); + return listDatasetVersionsWithResponse(name, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(PagedDatasetVersion.class)); } /** @@ -595,4 +549,46 @@ public Mono createOrUpdateDatasetVersion(String name, String ver .flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(DatasetVersion.class)); } + + /** + * List all versions of the given DatasetVersion. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     value (Required): [
+     *          (Required){
+     *             type: String(uri_file/uri_folder) (Required)
+     *             dataUri: String (Optional, Required on create)
+     *             isReference: Boolean (Optional)
+     *             connectionName: String (Optional)
+     *             id: String (Optional)
+     *             name: String (Required)
+     *             version: String (Required)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     ]
+     *     nextLink: String (Optional)
+     * }
+     * }
+     * 
+ * + * @param name The name of the resource. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of DatasetVersion items along with {@link Response} on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> listDatasetVersionsWithResponse(String name, RequestOptions requestOptions) { + return this.serviceClient.listDatasetVersionsWithResponseAsync(name, requestOptions); + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsClient.java index 43be66d99952..ebc5b6145bd9 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/DatasetsClient.java @@ -5,6 +5,7 @@ import com.azure.ai.projects.implementation.DatasetsImpl; import com.azure.ai.projects.implementation.JsonMergePatchHelper; +import com.azure.ai.projects.implementation.models.PagedDatasetVersion; import com.azure.ai.projects.models.AssetCredentialResult; import com.azure.ai.projects.models.DatasetVersion; import com.azure.ai.projects.models.FileDatasetVersion; @@ -257,42 +258,6 @@ public FolderDatasetVersion createDatasetWithFolder(String name, String version, return datasetVersion; } - /** - * List all versions of the given DatasetVersion. - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     type: String(uri_file/uri_folder) (Required)
-     *     dataUri: String (Optional, Required on create)
-     *     isReference: Boolean (Optional)
-     *     connectionName: String (Optional)
-     *     id: String (Optional)
-     *     name: String (Required)
-     *     version: String (Required)
-     *     description: String (Optional)
-     *     tags (Optional): {
-     *         String: String (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param name The name of the resource. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return paged collection of DatasetVersion items as paginated response with {@link PagedIterable}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listDatasetVersions(String name, RequestOptions requestOptions) { - return this.serviceClient.listDatasetVersions(name, requestOptions); - } - /** * List the latest version of each DatasetVersion. *

Response Body Schema

@@ -454,15 +419,14 @@ public Response createOrUpdateDatasetVersionWithResponse(String name * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return paged collection of DatasetVersion items as paginated response with {@link PagedIterable}. + * @return paged collection of DatasetVersion items. */ @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listDatasetVersions(String name) { - // Generated convenience method for listDatasetVersions + @ServiceMethod(returns = ReturnType.SINGLE) + public PagedDatasetVersion listDatasetVersions(String name) { + // Generated convenience method for listDatasetVersionsWithResponse RequestOptions requestOptions = new RequestOptions(); - return serviceClient.listDatasetVersions(name, requestOptions) - .mapPage(bodyItemValue -> bodyItemValue.toObject(DatasetVersion.class)); + return listDatasetVersionsWithResponse(name, requestOptions).getValue().toObject(PagedDatasetVersion.class); } /** @@ -553,4 +517,45 @@ public DatasetVersion createOrUpdateDatasetVersion(String name, String version, .getValue() .toObject(DatasetVersion.class); } + + /** + * List all versions of the given DatasetVersion. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     value (Required): [
+     *          (Required){
+     *             type: String(uri_file/uri_folder) (Required)
+     *             dataUri: String (Optional, Required on create)
+     *             isReference: Boolean (Optional)
+     *             connectionName: String (Optional)
+     *             id: String (Optional)
+     *             name: String (Required)
+     *             version: String (Required)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     ]
+     *     nextLink: String (Optional)
+     * }
+     * }
+     * 
+ * + * @param name The name of the resource. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of DatasetVersion items along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response listDatasetVersionsWithResponse(String name, RequestOptions requestOptions) { + return this.serviceClient.listDatasetVersionsWithResponse(name, requestOptions); + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/IndexesAsyncClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/IndexesAsyncClient.java index dcd282ec8d0e..54bd0d688178 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/IndexesAsyncClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/IndexesAsyncClient.java @@ -5,6 +5,7 @@ import com.azure.ai.projects.implementation.IndexesImpl; import com.azure.ai.projects.implementation.JsonMergePatchHelper; +import com.azure.ai.projects.implementation.models.PagedIndex; import com.azure.ai.projects.models.Index; import com.azure.core.annotation.Generated; import com.azure.core.annotation.ReturnType; @@ -44,39 +45,6 @@ public final class IndexesAsyncClient { this.serviceClient = serviceClient; } - /** - * List all versions of the given Index. - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required)
-     *     id: String (Optional)
-     *     name: String (Required)
-     *     version: String (Required)
-     *     description: String (Optional)
-     *     tags (Optional): {
-     *         String: String (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param name The name of the resource. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return paged collection of Index items as paginated response with {@link PagedFlux}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listIndexVersions(String name, RequestOptions requestOptions) { - return this.serviceClient.listIndexVersionsAsync(name, requestOptions); - } - /** * List the latest version of each Index. *

Response Body Schema

@@ -226,26 +194,15 @@ public Mono> createOrUpdateIndexVersionWithResponse(String * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return paged collection of Index items as paginated response with {@link PagedFlux}. + * @return paged collection of Index items on successful completion of {@link Mono}. */ @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listIndexVersions(String name) { - // Generated convenience method for listIndexVersions + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono listIndexVersions(String name) { + // Generated convenience method for listIndexVersionsWithResponse RequestOptions requestOptions = new RequestOptions(); - PagedFlux pagedFluxResponse = listIndexVersions(name, requestOptions); - return PagedFlux.create(() -> (continuationTokenParam, pageSizeParam) -> { - Flux> flux = (continuationTokenParam == null) - ? pagedFluxResponse.byPage().take(1) - : pagedFluxResponse.byPage(continuationTokenParam).take(1); - return flux.map(pagedResponse -> new PagedResponseBase(pagedResponse.getRequest(), - pagedResponse.getStatusCode(), pagedResponse.getHeaders(), - pagedResponse.getValue() - .stream() - .map(protocolMethodData -> protocolMethodData.toObject(Index.class)) - .collect(Collectors.toList()), - pagedResponse.getContinuationToken(), null)); - }); + return listIndexVersionsWithResponse(name, requestOptions).flatMap(FluxUtil::toMono) + .map(protocolMethodData -> protocolMethodData.toObject(PagedIndex.class)); } /** @@ -349,4 +306,42 @@ public Mono createOrUpdateIndexVersion(String name, String version, Index .flatMap(FluxUtil::toMono) .map(protocolMethodData -> protocolMethodData.toObject(Index.class)); } + + /** + * List all versions of the given Index. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     value (Required): [
+     *          (Required){
+     *             type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required)
+     *             id: String (Optional)
+     *             name: String (Required)
+     *             version: String (Required)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     ]
+     *     nextLink: String (Optional)
+     * }
+     * }
+     * 
+ * + * @param name The name of the resource. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Index items along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> listIndexVersionsWithResponse(String name, RequestOptions requestOptions) { + return this.serviceClient.listIndexVersionsWithResponseAsync(name, requestOptions); + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/IndexesClient.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/IndexesClient.java index 681554a60a05..3cf02301a3a4 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/IndexesClient.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/IndexesClient.java @@ -5,6 +5,7 @@ import com.azure.ai.projects.implementation.IndexesImpl; import com.azure.ai.projects.implementation.JsonMergePatchHelper; +import com.azure.ai.projects.implementation.models.PagedIndex; import com.azure.ai.projects.models.Index; import com.azure.core.annotation.Generated; import com.azure.core.annotation.ReturnType; @@ -38,39 +39,6 @@ public final class IndexesClient { this.serviceClient = serviceClient; } - /** - * List all versions of the given Index. - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required)
-     *     id: String (Optional)
-     *     name: String (Required)
-     *     version: String (Required)
-     *     description: String (Optional)
-     *     tags (Optional): {
-     *         String: String (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param name The name of the resource. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return paged collection of Index items as paginated response with {@link PagedIterable}. - */ - @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listIndexVersions(String name, RequestOptions requestOptions) { - return this.serviceClient.listIndexVersions(name, requestOptions); - } - /** * List the latest version of each Index. *

Response Body Schema

@@ -219,15 +187,14 @@ public Response createOrUpdateIndexVersionWithResponse(String name, * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return paged collection of Index items as paginated response with {@link PagedIterable}. + * @return paged collection of Index items. */ @Generated - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listIndexVersions(String name) { - // Generated convenience method for listIndexVersions + @ServiceMethod(returns = ReturnType.SINGLE) + public PagedIndex listIndexVersions(String name) { + // Generated convenience method for listIndexVersionsWithResponse RequestOptions requestOptions = new RequestOptions(); - return serviceClient.listIndexVersions(name, requestOptions) - .mapPage(bodyItemValue -> bodyItemValue.toObject(Index.class)); + return listIndexVersionsWithResponse(name, requestOptions).getValue().toObject(PagedIndex.class); } /** @@ -317,4 +284,42 @@ public Index createOrUpdateIndexVersion(String name, String version, Index index return createOrUpdateIndexVersionWithResponse(name, version, indexInBinaryData, requestOptions).getValue() .toObject(Index.class); } + + /** + * List all versions of the given Index. + *

Response Body Schema

+ * + *
+     * {@code
+     * {
+     *     value (Required): [
+     *          (Required){
+     *             type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required)
+     *             id: String (Optional)
+     *             name: String (Required)
+     *             version: String (Required)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     ]
+     *     nextLink: String (Optional)
+     * }
+     * }
+     * 
+ * + * @param name The name of the resource. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Index items along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response listIndexVersionsWithResponse(String name, RequestOptions requestOptions) { + return this.serviceClient.listIndexVersionsWithResponse(name, requestOptions); + } } diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java index 55631f0a0351..e8a9756102ce 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/DatasetsImpl.java @@ -231,26 +231,6 @@ Response getCredentialsSync(@HostParam("endpoint") String endpoint, @PathParam("version") String version, @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - @Get("{nextLink}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> listDatasetVersionsNext( - @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, - @HeaderParam("Accept") String accept, RequestOptions requestOptions, Context context); - - @Get("{nextLink}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Response listDatasetVersionsNextSync(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, RequestOptions requestOptions, - Context context); - @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @@ -279,17 +259,22 @@ Response listLatestDatasetVersionsNextSync( *
      * {@code
      * {
-     *     type: String(uri_file/uri_folder) (Required)
-     *     dataUri: String (Optional, Required on create)
-     *     isReference: Boolean (Optional)
-     *     connectionName: String (Optional)
-     *     id: String (Optional)
-     *     name: String (Required)
-     *     version: String (Required)
-     *     description: String (Optional)
-     *     tags (Optional): {
-     *         String: String (Required)
-     *     }
+     *     value (Required): [
+     *          (Required){
+     *             type: String(uri_file/uri_folder) (Required)
+     *             dataUri: String (Optional, Required on create)
+     *             isReference: Boolean (Optional)
+     *             connectionName: String (Optional)
+     *             id: String (Optional)
+     *             name: String (Required)
+     *             version: String (Required)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     ]
+     *     nextLink: String (Optional)
      * }
      * }
      * 
@@ -300,57 +285,14 @@ Response listLatestDatasetVersionsNextSync( * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return paged collection of DatasetVersion items along with {@link PagedResponse} on successful completion of + * @return paged collection of DatasetVersion items along with {@link Response} on successful completion of * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listDatasetVersionsSinglePageAsync(String name, - RequestOptions requestOptions) { + public Mono> listDatasetVersionsWithResponseAsync(String name, RequestOptions requestOptions) { final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listDatasetVersions(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), name, accept, requestOptions, context)) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - getValues(res.getValue(), "value"), getNextLink(res.getValue(), "nextLink"), null)); - } - - /** - * List all versions of the given DatasetVersion. - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     type: String(uri_file/uri_folder) (Required)
-     *     dataUri: String (Optional, Required on create)
-     *     isReference: Boolean (Optional)
-     *     connectionName: String (Optional)
-     *     id: String (Optional)
-     *     name: String (Required)
-     *     version: String (Required)
-     *     description: String (Optional)
-     *     tags (Optional): {
-     *         String: String (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param name The name of the resource. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return paged collection of DatasetVersion items as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listDatasetVersionsAsync(String name, RequestOptions requestOptions) { - RequestOptions requestOptionsForNextPage = new RequestOptions(); - requestOptionsForNextPage.setContext( - requestOptions != null && requestOptions.getContext() != null ? requestOptions.getContext() : Context.NONE); - return new PagedFlux<>(() -> listDatasetVersionsSinglePageAsync(name, requestOptions), - nextLink -> listDatasetVersionsNextSinglePageAsync(nextLink, requestOptionsForNextPage)); + return FluxUtil.withContext(context -> service.listDatasetVersions(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), name, accept, requestOptions, context)); } /** @@ -360,17 +302,22 @@ public PagedFlux listDatasetVersionsAsync(String name, RequestOption *
      * {@code
      * {
-     *     type: String(uri_file/uri_folder) (Required)
-     *     dataUri: String (Optional, Required on create)
-     *     isReference: Boolean (Optional)
-     *     connectionName: String (Optional)
-     *     id: String (Optional)
-     *     name: String (Required)
-     *     version: String (Required)
-     *     description: String (Optional)
-     *     tags (Optional): {
-     *         String: String (Required)
-     *     }
+     *     value (Required): [
+     *          (Required){
+     *             type: String(uri_file/uri_folder) (Required)
+     *             dataUri: String (Optional, Required on create)
+     *             isReference: Boolean (Optional)
+     *             connectionName: String (Optional)
+     *             id: String (Optional)
+     *             name: String (Required)
+     *             version: String (Required)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     ]
+     *     nextLink: String (Optional)
      * }
      * }
      * 
@@ -381,54 +328,13 @@ public PagedFlux listDatasetVersionsAsync(String name, RequestOption * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return paged collection of DatasetVersion items along with {@link PagedResponse}. + * @return paged collection of DatasetVersion items along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private PagedResponse listDatasetVersionsSinglePage(String name, RequestOptions requestOptions) { + public Response listDatasetVersionsWithResponse(String name, RequestOptions requestOptions) { final String accept = "application/json"; - Response res = service.listDatasetVersionsSync(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), name, accept, requestOptions, Context.NONE); - return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - getValues(res.getValue(), "value"), getNextLink(res.getValue(), "nextLink"), null); - } - - /** - * List all versions of the given DatasetVersion. - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     type: String(uri_file/uri_folder) (Required)
-     *     dataUri: String (Optional, Required on create)
-     *     isReference: Boolean (Optional)
-     *     connectionName: String (Optional)
-     *     id: String (Optional)
-     *     name: String (Required)
-     *     version: String (Required)
-     *     description: String (Optional)
-     *     tags (Optional): {
-     *         String: String (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param name The name of the resource. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return paged collection of DatasetVersion items as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listDatasetVersions(String name, RequestOptions requestOptions) { - RequestOptions requestOptionsForNextPage = new RequestOptions(); - requestOptionsForNextPage.setContext( - requestOptions != null && requestOptions.getContext() != null ? requestOptions.getContext() : Context.NONE); - return new PagedIterable<>(() -> listDatasetVersionsSinglePage(name, requestOptions), - nextLink -> listDatasetVersionsNextSinglePage(nextLink, requestOptionsForNextPage)); + return service.listDatasetVersionsSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + name, accept, requestOptions, Context.NONE); } /** @@ -1006,88 +912,6 @@ public Response getCredentialsWithResponse(String name, String versi version, accept, requestOptions, Context.NONE); } - /** - * Get the next page of items. - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     type: String(uri_file/uri_folder) (Required)
-     *     dataUri: String (Optional, Required on create)
-     *     isReference: Boolean (Optional)
-     *     connectionName: String (Optional)
-     *     id: String (Optional)
-     *     name: String (Required)
-     *     version: String (Required)
-     *     description: String (Optional)
-     *     tags (Optional): {
-     *         String: String (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param nextLink The URL to get the next list of items. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return paged collection of DatasetVersion items along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listDatasetVersionsNextSinglePageAsync(String nextLink, - RequestOptions requestOptions) { - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listDatasetVersionsNext(nextLink, this.client.getEndpoint(), accept, - requestOptions, context)) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - getValues(res.getValue(), "value"), getNextLink(res.getValue(), "nextLink"), null)); - } - - /** - * Get the next page of items. - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     type: String(uri_file/uri_folder) (Required)
-     *     dataUri: String (Optional, Required on create)
-     *     isReference: Boolean (Optional)
-     *     connectionName: String (Optional)
-     *     id: String (Optional)
-     *     name: String (Required)
-     *     version: String (Required)
-     *     description: String (Optional)
-     *     tags (Optional): {
-     *         String: String (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param nextLink The URL to get the next list of items. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return paged collection of DatasetVersion items along with {@link PagedResponse}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private PagedResponse listDatasetVersionsNextSinglePage(String nextLink, - RequestOptions requestOptions) { - final String accept = "application/json"; - Response res = service.listDatasetVersionsNextSync(nextLink, this.client.getEndpoint(), accept, - requestOptions, Context.NONE); - return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - getValues(res.getValue(), "value"), getNextLink(res.getValue(), "nextLink"), null); - } - /** * Get the next page of items. *

Response Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java index 7a0666fffe1d..1b3027729b25 100644 --- a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/implementation/IndexesImpl.java @@ -184,26 +184,6 @@ Response createOrUpdateIndexVersionSync(@HostParam("endpoint") Strin @HeaderParam("Accept") String accept, @BodyParam("application/merge-patch+json") BinaryData index, RequestOptions requestOptions, Context context); - @Get("{nextLink}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Mono> listIndexVersionsNext(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, RequestOptions requestOptions, - Context context); - - @Get("{nextLink}") - @ExpectedResponses({ 200 }) - @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) - @UnexpectedResponseExceptionType(value = ResourceNotFoundException.class, code = { 404 }) - @UnexpectedResponseExceptionType(value = ResourceModifiedException.class, code = { 409 }) - @UnexpectedResponseExceptionType(HttpResponseException.class) - Response listIndexVersionsNextSync(@PathParam(value = "nextLink", encoded = true) String nextLink, - @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, RequestOptions requestOptions, - Context context); - @Get("{nextLink}") @ExpectedResponses({ 200 }) @UnexpectedResponseExceptionType(value = ClientAuthenticationException.class, code = { 401 }) @@ -232,14 +212,19 @@ Response listLatestIndexVersionsNextSync( *
      * {@code
      * {
-     *     type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required)
-     *     id: String (Optional)
-     *     name: String (Required)
-     *     version: String (Required)
-     *     description: String (Optional)
-     *     tags (Optional): {
-     *         String: String (Required)
-     *     }
+     *     value (Required): [
+     *          (Required){
+     *             type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required)
+     *             id: String (Optional)
+     *             name: String (Required)
+     *             version: String (Required)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     ]
+     *     nextLink: String (Optional)
      * }
      * }
      * 
@@ -250,18 +235,13 @@ Response listLatestIndexVersionsNextSync( * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return paged collection of Index items along with {@link PagedResponse} on successful completion of - * {@link Mono}. + * @return paged collection of Index items along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listIndexVersionsSinglePageAsync(String name, - RequestOptions requestOptions) { + public Mono> listIndexVersionsWithResponseAsync(String name, RequestOptions requestOptions) { final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listIndexVersions(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), name, accept, requestOptions, context)) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - getValues(res.getValue(), "value"), getNextLink(res.getValue(), "nextLink"), null)); + return FluxUtil.withContext(context -> service.listIndexVersions(this.client.getEndpoint(), + this.client.getServiceVersion().getVersion(), name, accept, requestOptions, context)); } /** @@ -271,14 +251,19 @@ private Mono> listIndexVersionsSinglePageAsync(String *
      * {@code
      * {
-     *     type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required)
-     *     id: String (Optional)
-     *     name: String (Required)
-     *     version: String (Required)
-     *     description: String (Optional)
-     *     tags (Optional): {
-     *         String: String (Required)
-     *     }
+     *     value (Required): [
+     *          (Required){
+     *             type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required)
+     *             id: String (Optional)
+     *             name: String (Required)
+     *             version: String (Required)
+     *             description: String (Optional)
+     *             tags (Optional): {
+     *                 String: String (Required)
+     *             }
+     *         }
+     *     ]
+     *     nextLink: String (Optional)
      * }
      * }
      * 
@@ -289,87 +274,13 @@ private Mono> listIndexVersionsSinglePageAsync(String * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return paged collection of Index items as paginated response with {@link PagedFlux}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listIndexVersionsAsync(String name, RequestOptions requestOptions) { - RequestOptions requestOptionsForNextPage = new RequestOptions(); - requestOptionsForNextPage.setContext( - requestOptions != null && requestOptions.getContext() != null ? requestOptions.getContext() : Context.NONE); - return new PagedFlux<>(() -> listIndexVersionsSinglePageAsync(name, requestOptions), - nextLink -> listIndexVersionsNextSinglePageAsync(nextLink, requestOptionsForNextPage)); - } - - /** - * List all versions of the given Index. - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required)
-     *     id: String (Optional)
-     *     name: String (Required)
-     *     version: String (Required)
-     *     description: String (Optional)
-     *     tags (Optional): {
-     *         String: String (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param name The name of the resource. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return paged collection of Index items along with {@link PagedResponse}. + * @return paged collection of Index items along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private PagedResponse listIndexVersionsSinglePage(String name, RequestOptions requestOptions) { + public Response listIndexVersionsWithResponse(String name, RequestOptions requestOptions) { final String accept = "application/json"; - Response res = service.listIndexVersionsSync(this.client.getEndpoint(), - this.client.getServiceVersion().getVersion(), name, accept, requestOptions, Context.NONE); - return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - getValues(res.getValue(), "value"), getNextLink(res.getValue(), "nextLink"), null); - } - - /** - * List all versions of the given Index. - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required)
-     *     id: String (Optional)
-     *     name: String (Required)
-     *     version: String (Required)
-     *     description: String (Optional)
-     *     tags (Optional): {
-     *         String: String (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param name The name of the resource. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return paged collection of Index items as paginated response with {@link PagedIterable}. - */ - @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listIndexVersions(String name, RequestOptions requestOptions) { - RequestOptions requestOptionsForNextPage = new RequestOptions(); - requestOptionsForNextPage.setContext( - requestOptions != null && requestOptions.getContext() != null ? requestOptions.getContext() : Context.NONE); - return new PagedIterable<>(() -> listIndexVersionsSinglePage(name, requestOptions), - nextLink -> listIndexVersionsNextSinglePage(nextLink, requestOptionsForNextPage)); + return service.listIndexVersionsSync(this.client.getEndpoint(), this.client.getServiceVersion().getVersion(), + name, accept, requestOptions, Context.NONE); } /** @@ -735,81 +646,6 @@ public Response createOrUpdateIndexVersionWithResponse(String name, Context.NONE); } - /** - * Get the next page of items. - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required)
-     *     id: String (Optional)
-     *     name: String (Required)
-     *     version: String (Required)
-     *     description: String (Optional)
-     *     tags (Optional): {
-     *         String: String (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param nextLink The URL to get the next list of items. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return paged collection of Index items along with {@link PagedResponse} on successful completion of - * {@link Mono}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private Mono> listIndexVersionsNextSinglePageAsync(String nextLink, - RequestOptions requestOptions) { - final String accept = "application/json"; - return FluxUtil - .withContext(context -> service.listIndexVersionsNext(nextLink, this.client.getEndpoint(), accept, - requestOptions, context)) - .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - getValues(res.getValue(), "value"), getNextLink(res.getValue(), "nextLink"), null)); - } - - /** - * Get the next page of items. - *

Response Body Schema

- * - *
-     * {@code
-     * {
-     *     type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required)
-     *     id: String (Optional)
-     *     name: String (Required)
-     *     version: String (Required)
-     *     description: String (Optional)
-     *     tags (Optional): {
-     *         String: String (Required)
-     *     }
-     * }
-     * }
-     * 
- * - * @param nextLink The URL to get the next list of items. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return paged collection of Index items along with {@link PagedResponse}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - private PagedResponse listIndexVersionsNextSinglePage(String nextLink, RequestOptions requestOptions) { - final String accept = "application/json"; - Response res = service.listIndexVersionsNextSync(nextLink, this.client.getEndpoint(), accept, - requestOptions, Context.NONE); - return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), - getValues(res.getValue(), "value"), getNextLink(res.getValue(), "nextLink"), null); - } - /** * Get the next page of items. *

Response Body Schema

diff --git a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_apiview_properties.json b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_apiview_properties.json index 5753fdf1f089..e899d384d325 100644 --- a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_apiview_properties.json +++ b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_apiview_properties.json @@ -24,6 +24,7 @@ "com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion": "Azure.AI.Projects.Datasets.getVersion", "com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse": "Azure.AI.Projects.Datasets.getVersion", "com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions": "Azure.AI.Projects.Datasets.listVersions", + "com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersionsWithResponse": "Azure.AI.Projects.Datasets.listVersions", "com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions": "Azure.AI.Projects.Datasets.listLatest", "com.azure.ai.projects.DatasetsAsyncClient.pendingUpload": "Azure.AI.Projects.Datasets.startPendingUploadVersion", "com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse": "Azure.AI.Projects.Datasets.startPendingUploadVersion", @@ -37,6 +38,7 @@ "com.azure.ai.projects.DatasetsClient.getDatasetVersion": "Azure.AI.Projects.Datasets.getVersion", "com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse": "Azure.AI.Projects.Datasets.getVersion", "com.azure.ai.projects.DatasetsClient.listDatasetVersions": "Azure.AI.Projects.Datasets.listVersions", + "com.azure.ai.projects.DatasetsClient.listDatasetVersionsWithResponse": "Azure.AI.Projects.Datasets.listVersions", "com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions": "Azure.AI.Projects.Datasets.listLatest", "com.azure.ai.projects.DatasetsClient.pendingUpload": "Azure.AI.Projects.Datasets.startPendingUploadVersion", "com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse": "Azure.AI.Projects.Datasets.startPendingUploadVersion", @@ -72,6 +74,7 @@ "com.azure.ai.projects.IndexesAsyncClient.getIndexVersion": "Azure.AI.Projects.Indexes.getVersion", "com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse": "Azure.AI.Projects.Indexes.getVersion", "com.azure.ai.projects.IndexesAsyncClient.listIndexVersions": "Azure.AI.Projects.Indexes.listVersions", + "com.azure.ai.projects.IndexesAsyncClient.listIndexVersionsWithResponse": "Azure.AI.Projects.Indexes.listVersions", "com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions": "Azure.AI.Projects.Indexes.listLatest", "com.azure.ai.projects.IndexesClient": "Azure.AI.Projects.Indexes", "com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion": "Azure.AI.Projects.Indexes.createOrUpdateVersion", @@ -81,6 +84,7 @@ "com.azure.ai.projects.IndexesClient.getIndexVersion": "Azure.AI.Projects.Indexes.getVersion", "com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse": "Azure.AI.Projects.Indexes.getVersion", "com.azure.ai.projects.IndexesClient.listIndexVersions": "Azure.AI.Projects.Indexes.listVersions", + "com.azure.ai.projects.IndexesClient.listIndexVersionsWithResponse": "Azure.AI.Projects.Indexes.listVersions", "com.azure.ai.projects.IndexesClient.listLatestIndexVersions": "Azure.AI.Projects.Indexes.listLatest", "com.azure.ai.projects.RedTeamsAsyncClient": "Azure.AI.Projects.RedTeams", "com.azure.ai.projects.RedTeamsAsyncClient.createRedTeam": "Azure.AI.Projects.RedTeams.create", diff --git a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json index 9cd844f0fff5..dfb853acbf46 100644 --- a/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json +++ b/sdk/ai/azure-ai-projects/src/main/resources/META-INF/azure-ai-projects_metadata.json @@ -1 +1 @@ -{"flavor":"azure","apiVersion":"2025-05-15-preview","crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationsAsyncClient":"Azure.AI.Projects.Evaluations","com.azure.ai.projects.EvaluationsAsyncClient.createAgentEvaluation":"Azure.AI.Projects.Evaluations.createAgentEvaluation","com.azure.ai.projects.EvaluationsAsyncClient.createAgentEvaluationWithResponse":"Azure.AI.Projects.Evaluations.createAgentEvaluation","com.azure.ai.projects.EvaluationsAsyncClient.createEvaluation":"Azure.AI.Projects.Evaluations.create","com.azure.ai.projects.EvaluationsAsyncClient.createEvaluationWithResponse":"Azure.AI.Projects.Evaluations.create","com.azure.ai.projects.EvaluationsAsyncClient.getEvaluation":"Azure.AI.Projects.Evaluations.get","com.azure.ai.projects.EvaluationsAsyncClient.getEvaluationWithResponse":"Azure.AI.Projects.Evaluations.get","com.azure.ai.projects.EvaluationsAsyncClient.listEvaluations":"Azure.AI.Projects.Evaluations.list","com.azure.ai.projects.EvaluationsClient":"Azure.AI.Projects.Evaluations","com.azure.ai.projects.EvaluationsClient.createAgentEvaluation":"Azure.AI.Projects.Evaluations.createAgentEvaluation","com.azure.ai.projects.EvaluationsClient.createAgentEvaluationWithResponse":"Azure.AI.Projects.Evaluations.createAgentEvaluation","com.azure.ai.projects.EvaluationsClient.createEvaluation":"Azure.AI.Projects.Evaluations.create","com.azure.ai.projects.EvaluationsClient.createEvaluationWithResponse":"Azure.AI.Projects.Evaluations.create","com.azure.ai.projects.EvaluationsClient.getEvaluation":"Azure.AI.Projects.Evaluations.get","com.azure.ai.projects.EvaluationsClient.getEvaluationWithResponse":"Azure.AI.Projects.Evaluations.get","com.azure.ai.projects.EvaluationsClient.listEvaluations":"Azure.AI.Projects.Evaluations.list","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeam":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeam":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.models.AgentEvaluation":"Azure.AI.Projects.AgentEvaluation","com.azure.ai.projects.models.AgentEvaluationRedactionConfiguration":"Azure.AI.Projects.AgentEvaluationRedactionConfiguration","com.azure.ai.projects.models.AgentEvaluationRequest":"Azure.AI.Projects.AgentEvaluationRequest","com.azure.ai.projects.models.AgentEvaluationResult":"Azure.AI.Projects.AgentEvaluationResult","com.azure.ai.projects.models.AgentEvaluationSamplingConfiguration":"Azure.AI.Projects.AgentEvaluationSamplingConfiguration","com.azure.ai.projects.models.ApiKeyCredentials":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.AssetCredentialResult":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredentials":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIDCredentials":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.Evaluation":"Azure.AI.Projects.Evaluation","com.azure.ai.projects.models.EvaluatorConfiguration":"Azure.AI.Projects.EvaluatorConfiguration","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.Index":"Azure.AI.Projects.Index","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.InputData":"Azure.AI.Projects.InputData","com.azure.ai.projects.models.InputDataset":"Azure.AI.Projects.InputDataset","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.NoAuthenticationCredentials":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.SasCredentials":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Sku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.TargetConfig"}} \ No newline at end of file +{"flavor":"azure","apiVersion":"2025-05-15-preview","crossLanguageDefinitions":{"com.azure.ai.projects.AIProjectClientBuilder":"Azure.AI.Projects","com.azure.ai.projects.ConnectionsAsyncClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsAsyncClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsAsyncClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsAsyncClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.ConnectionsClient":"Azure.AI.Projects.Connections","com.azure.ai.projects.ConnectionsClient.getConnection":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentials":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithCredentialsWithResponse":"Azure.AI.Projects.Connections.getWithCredentials","com.azure.ai.projects.ConnectionsClient.getConnectionWithResponse":"Azure.AI.Projects.Connections.get","com.azure.ai.projects.ConnectionsClient.listConnections":"Azure.AI.Projects.Connections.list","com.azure.ai.projects.DatasetsAsyncClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsAsyncClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listDatasetVersionsWithResponse":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsAsyncClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsAsyncClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsAsyncClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient":"Azure.AI.Projects.Datasets","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersion":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.createOrUpdateDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.createOrUpdateVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersion":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.deleteDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.deleteVersion","com.azure.ai.projects.DatasetsClient.getCredentials":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getCredentialsWithResponse":"Azure.AI.Projects.Datasets.getCredentials","com.azure.ai.projects.DatasetsClient.getDatasetVersion":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.getDatasetVersionWithResponse":"Azure.AI.Projects.Datasets.getVersion","com.azure.ai.projects.DatasetsClient.listDatasetVersions":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listDatasetVersionsWithResponse":"Azure.AI.Projects.Datasets.listVersions","com.azure.ai.projects.DatasetsClient.listLatestDatasetVersions":"Azure.AI.Projects.Datasets.listLatest","com.azure.ai.projects.DatasetsClient.pendingUpload":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DatasetsClient.pendingUploadWithResponse":"Azure.AI.Projects.Datasets.startPendingUploadVersion","com.azure.ai.projects.DeploymentsAsyncClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsAsyncClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsAsyncClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.DeploymentsClient":"Azure.AI.Projects.Deployments","com.azure.ai.projects.DeploymentsClient.getDeployment":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.getDeploymentWithResponse":"Azure.AI.Projects.Deployments.get","com.azure.ai.projects.DeploymentsClient.listDeployments":"Azure.AI.Projects.Deployments.list","com.azure.ai.projects.EvaluationsAsyncClient":"Azure.AI.Projects.Evaluations","com.azure.ai.projects.EvaluationsAsyncClient.createAgentEvaluation":"Azure.AI.Projects.Evaluations.createAgentEvaluation","com.azure.ai.projects.EvaluationsAsyncClient.createAgentEvaluationWithResponse":"Azure.AI.Projects.Evaluations.createAgentEvaluation","com.azure.ai.projects.EvaluationsAsyncClient.createEvaluation":"Azure.AI.Projects.Evaluations.create","com.azure.ai.projects.EvaluationsAsyncClient.createEvaluationWithResponse":"Azure.AI.Projects.Evaluations.create","com.azure.ai.projects.EvaluationsAsyncClient.getEvaluation":"Azure.AI.Projects.Evaluations.get","com.azure.ai.projects.EvaluationsAsyncClient.getEvaluationWithResponse":"Azure.AI.Projects.Evaluations.get","com.azure.ai.projects.EvaluationsAsyncClient.listEvaluations":"Azure.AI.Projects.Evaluations.list","com.azure.ai.projects.EvaluationsClient":"Azure.AI.Projects.Evaluations","com.azure.ai.projects.EvaluationsClient.createAgentEvaluation":"Azure.AI.Projects.Evaluations.createAgentEvaluation","com.azure.ai.projects.EvaluationsClient.createAgentEvaluationWithResponse":"Azure.AI.Projects.Evaluations.createAgentEvaluation","com.azure.ai.projects.EvaluationsClient.createEvaluation":"Azure.AI.Projects.Evaluations.create","com.azure.ai.projects.EvaluationsClient.createEvaluationWithResponse":"Azure.AI.Projects.Evaluations.create","com.azure.ai.projects.EvaluationsClient.getEvaluation":"Azure.AI.Projects.Evaluations.get","com.azure.ai.projects.EvaluationsClient.getEvaluationWithResponse":"Azure.AI.Projects.Evaluations.get","com.azure.ai.projects.EvaluationsClient.listEvaluations":"Azure.AI.Projects.Evaluations.list","com.azure.ai.projects.IndexesAsyncClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesAsyncClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listIndexVersionsWithResponse":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesAsyncClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.IndexesClient":"Azure.AI.Projects.Indexes","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersion":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.createOrUpdateIndexVersionWithResponse":"Azure.AI.Projects.Indexes.createOrUpdateVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersion":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.deleteIndexVersionWithResponse":"Azure.AI.Projects.Indexes.deleteVersion","com.azure.ai.projects.IndexesClient.getIndexVersion":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.getIndexVersionWithResponse":"Azure.AI.Projects.Indexes.getVersion","com.azure.ai.projects.IndexesClient.listIndexVersions":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listIndexVersionsWithResponse":"Azure.AI.Projects.Indexes.listVersions","com.azure.ai.projects.IndexesClient.listLatestIndexVersions":"Azure.AI.Projects.Indexes.listLatest","com.azure.ai.projects.RedTeamsAsyncClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeam":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.createRedTeamWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsAsyncClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.RedTeamsClient":"Azure.AI.Projects.RedTeams","com.azure.ai.projects.RedTeamsClient.createRedTeam":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.createRedTeamWithResponse":"Azure.AI.Projects.RedTeams.create","com.azure.ai.projects.RedTeamsClient.getRedTeam":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.getRedTeamWithResponse":"Azure.AI.Projects.RedTeams.get","com.azure.ai.projects.RedTeamsClient.listRedTeams":"Azure.AI.Projects.RedTeams.list","com.azure.ai.projects.models.AgentEvaluation":"Azure.AI.Projects.AgentEvaluation","com.azure.ai.projects.models.AgentEvaluationRedactionConfiguration":"Azure.AI.Projects.AgentEvaluationRedactionConfiguration","com.azure.ai.projects.models.AgentEvaluationRequest":"Azure.AI.Projects.AgentEvaluationRequest","com.azure.ai.projects.models.AgentEvaluationResult":"Azure.AI.Projects.AgentEvaluationResult","com.azure.ai.projects.models.AgentEvaluationSamplingConfiguration":"Azure.AI.Projects.AgentEvaluationSamplingConfiguration","com.azure.ai.projects.models.ApiKeyCredentials":"Azure.AI.Projects.ApiKeyCredentials","com.azure.ai.projects.models.AssetCredentialResult":"Azure.AI.Projects.AssetCredentialResponse","com.azure.ai.projects.models.AttackStrategy":"Azure.AI.Projects.AttackStrategy","com.azure.ai.projects.models.AzureAISearchIndex":"Azure.AI.Projects.AzureAISearchIndex","com.azure.ai.projects.models.AzureOpenAIModelConfiguration":"Azure.AI.Projects.AzureOpenAIModelConfiguration","com.azure.ai.projects.models.BaseCredentials":"Azure.AI.Projects.BaseCredentials","com.azure.ai.projects.models.BlobReference":"Azure.AI.Projects.BlobReference","com.azure.ai.projects.models.Connection":"Azure.AI.Projects.Connection","com.azure.ai.projects.models.ConnectionType":"Azure.AI.Projects.ConnectionType","com.azure.ai.projects.models.CosmosDBIndex":"Azure.AI.Projects.CosmosDBIndex","com.azure.ai.projects.models.CredentialType":"Azure.AI.Projects.CredentialType","com.azure.ai.projects.models.CustomCredential":"Azure.AI.Projects.CustomCredential","com.azure.ai.projects.models.DatasetType":"Azure.AI.Projects.DatasetType","com.azure.ai.projects.models.DatasetVersion":"Azure.AI.Projects.DatasetVersion","com.azure.ai.projects.models.Deployment":"Azure.AI.Projects.Deployment","com.azure.ai.projects.models.DeploymentType":"Azure.AI.Projects.DeploymentType","com.azure.ai.projects.models.EmbeddingConfiguration":"Azure.AI.Projects.EmbeddingConfiguration","com.azure.ai.projects.models.EntraIDCredentials":"Azure.AI.Projects.EntraIDCredentials","com.azure.ai.projects.models.Evaluation":"Azure.AI.Projects.Evaluation","com.azure.ai.projects.models.EvaluatorConfiguration":"Azure.AI.Projects.EvaluatorConfiguration","com.azure.ai.projects.models.FieldMapping":"Azure.AI.Projects.FieldMapping","com.azure.ai.projects.models.FileDatasetVersion":"Azure.AI.Projects.FileDatasetVersion","com.azure.ai.projects.models.FolderDatasetVersion":"Azure.AI.Projects.FolderDatasetVersion","com.azure.ai.projects.models.Index":"Azure.AI.Projects.Index","com.azure.ai.projects.models.IndexType":"Azure.AI.Projects.IndexType","com.azure.ai.projects.models.InputData":"Azure.AI.Projects.InputData","com.azure.ai.projects.models.InputDataset":"Azure.AI.Projects.InputDataset","com.azure.ai.projects.models.ManagedAzureAISearchIndex":"Azure.AI.Projects.ManagedAzureAISearchIndex","com.azure.ai.projects.models.ModelDeployment":"Azure.AI.Projects.ModelDeployment","com.azure.ai.projects.models.NoAuthenticationCredentials":"Azure.AI.Projects.NoAuthenticationCredentials","com.azure.ai.projects.models.PendingUploadRequest":"Azure.AI.Projects.PendingUploadRequest","com.azure.ai.projects.models.PendingUploadResponse":"Azure.AI.Projects.PendingUploadResponse","com.azure.ai.projects.models.PendingUploadType":"Azure.AI.Projects.PendingUploadType","com.azure.ai.projects.models.RedTeam":"Azure.AI.Projects.RedTeam","com.azure.ai.projects.models.RiskCategory":"Azure.AI.Projects.RiskCategory","com.azure.ai.projects.models.SasCredential":"Azure.AI.Projects.SasCredential","com.azure.ai.projects.models.SasCredentials":"Azure.AI.Projects.SASCredentials","com.azure.ai.projects.models.Sku":"Azure.AI.Projects.Sku","com.azure.ai.projects.models.TargetConfig":"Azure.AI.Projects.TargetConfig"}} \ No newline at end of file diff --git a/sdk/computeschedule/azure-resourcemanager-computeschedule/src/main/java/com/azure/resourcemanager/computeschedule/fluent/models/OccurrenceExtensionResourceInner.java b/sdk/computeschedule/azure-resourcemanager-computeschedule/src/main/java/com/azure/resourcemanager/computeschedule/fluent/models/OccurrenceExtensionResourceInner.java index d47747113d31..a4ac1b9068c6 100644 --- a/sdk/computeschedule/azure-resourcemanager-computeschedule/src/main/java/com/azure/resourcemanager/computeschedule/fluent/models/OccurrenceExtensionResourceInner.java +++ b/sdk/computeschedule/azure-resourcemanager-computeschedule/src/main/java/com/azure/resourcemanager/computeschedule/fluent/models/OccurrenceExtensionResourceInner.java @@ -6,7 +6,6 @@ import com.azure.core.annotation.Immutable; import com.azure.core.management.ProxyResource; -import com.azure.core.management.SystemData; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -23,11 +22,6 @@ public final class OccurrenceExtensionResourceInner extends ProxyResource { */ private OccurrenceExtensionProperties properties; - /* - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - private SystemData systemData; - /* * The type of the resource. */ @@ -58,15 +52,6 @@ public OccurrenceExtensionProperties properties() { return this.properties; } - /** - * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. - * - * @return the systemData value. - */ - public SystemData systemData() { - return this.systemData; - } - /** * Get the type property: The type of the resource. * @@ -144,8 +129,6 @@ public static OccurrenceExtensionResourceInner fromJson(JsonReader jsonReader) t } else if ("properties".equals(fieldName)) { deserializedOccurrenceExtensionResourceInner.properties = OccurrenceExtensionProperties.fromJson(reader); - } else if ("systemData".equals(fieldName)) { - deserializedOccurrenceExtensionResourceInner.systemData = SystemData.fromJson(reader); } else { reader.skipChildren(); } diff --git a/sdk/computeschedule/azure-resourcemanager-computeschedule/src/main/java/com/azure/resourcemanager/computeschedule/implementation/OccurrenceExtensionResourceImpl.java b/sdk/computeschedule/azure-resourcemanager-computeschedule/src/main/java/com/azure/resourcemanager/computeschedule/implementation/OccurrenceExtensionResourceImpl.java index bf5475663769..c5d9648cd4a1 100644 --- a/sdk/computeschedule/azure-resourcemanager-computeschedule/src/main/java/com/azure/resourcemanager/computeschedule/implementation/OccurrenceExtensionResourceImpl.java +++ b/sdk/computeschedule/azure-resourcemanager-computeschedule/src/main/java/com/azure/resourcemanager/computeschedule/implementation/OccurrenceExtensionResourceImpl.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.computeschedule.implementation; -import com.azure.core.management.SystemData; import com.azure.resourcemanager.computeschedule.fluent.models.OccurrenceExtensionResourceInner; import com.azure.resourcemanager.computeschedule.models.OccurrenceExtensionProperties; import com.azure.resourcemanager.computeschedule.models.OccurrenceExtensionResource; @@ -36,10 +35,6 @@ public OccurrenceExtensionProperties properties() { return this.innerModel().properties(); } - public SystemData systemData() { - return this.innerModel().systemData(); - } - public OccurrenceExtensionResourceInner innerModel() { return this.innerObject; } diff --git a/sdk/computeschedule/azure-resourcemanager-computeschedule/src/main/java/com/azure/resourcemanager/computeschedule/models/OccurrenceExtensionResource.java b/sdk/computeschedule/azure-resourcemanager-computeschedule/src/main/java/com/azure/resourcemanager/computeschedule/models/OccurrenceExtensionResource.java index 7b69fd0a948c..a5dcd0b8d495 100644 --- a/sdk/computeschedule/azure-resourcemanager-computeschedule/src/main/java/com/azure/resourcemanager/computeschedule/models/OccurrenceExtensionResource.java +++ b/sdk/computeschedule/azure-resourcemanager-computeschedule/src/main/java/com/azure/resourcemanager/computeschedule/models/OccurrenceExtensionResource.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.computeschedule.models; -import com.azure.core.management.SystemData; import com.azure.resourcemanager.computeschedule.fluent.models.OccurrenceExtensionResourceInner; /** @@ -39,13 +38,6 @@ public interface OccurrenceExtensionResource { */ OccurrenceExtensionProperties properties(); - /** - * Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. - * - * @return the systemData value. - */ - SystemData systemData(); - /** * Gets the inner com.azure.resourcemanager.computeschedule.fluent.models.OccurrenceExtensionResourceInner object. * diff --git a/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/fluent/models/BgpPeerInner.java b/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/fluent/models/BgpPeerInner.java index 3971107578a1..917f3c3f2cda 100644 --- a/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/fluent/models/BgpPeerInner.java +++ b/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/fluent/models/BgpPeerInner.java @@ -6,7 +6,6 @@ import com.azure.core.annotation.Fluent; import com.azure.core.management.ProxyResource; -import com.azure.core.management.SystemData; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -23,11 +22,6 @@ public final class BgpPeerInner extends ProxyResource { */ private BgpPeerProperties properties; - /* - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - private SystemData systemData; - /* * The type of the resource. */ @@ -69,15 +63,6 @@ public BgpPeerInner withProperties(BgpPeerProperties properties) { return this; } - /** - * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. - * - * @return the systemData value. - */ - public SystemData systemData() { - return this.systemData; - } - /** * Get the type property: The type of the resource. * @@ -153,8 +138,6 @@ public static BgpPeerInner fromJson(JsonReader jsonReader) throws IOException { deserializedBgpPeerInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedBgpPeerInner.properties = BgpPeerProperties.fromJson(reader); - } else if ("systemData".equals(fieldName)) { - deserializedBgpPeerInner.systemData = SystemData.fromJson(reader); } else { reader.skipChildren(); } diff --git a/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/fluent/models/LoadBalancerInner.java b/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/fluent/models/LoadBalancerInner.java index cec055fe91e7..ed741ef64fb1 100644 --- a/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/fluent/models/LoadBalancerInner.java +++ b/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/fluent/models/LoadBalancerInner.java @@ -6,7 +6,6 @@ import com.azure.core.annotation.Fluent; import com.azure.core.management.ProxyResource; -import com.azure.core.management.SystemData; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -23,11 +22,6 @@ public final class LoadBalancerInner extends ProxyResource { */ private LoadBalancerProperties properties; - /* - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - private SystemData systemData; - /* * The type of the resource. */ @@ -69,15 +63,6 @@ public LoadBalancerInner withProperties(LoadBalancerProperties properties) { return this; } - /** - * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. - * - * @return the systemData value. - */ - public SystemData systemData() { - return this.systemData; - } - /** * Get the type property: The type of the resource. * @@ -153,8 +138,6 @@ public static LoadBalancerInner fromJson(JsonReader jsonReader) throws IOExcepti deserializedLoadBalancerInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedLoadBalancerInner.properties = LoadBalancerProperties.fromJson(reader); - } else if ("systemData".equals(fieldName)) { - deserializedLoadBalancerInner.systemData = SystemData.fromJson(reader); } else { reader.skipChildren(); } diff --git a/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/fluent/models/ServiceResourceInner.java b/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/fluent/models/ServiceResourceInner.java index a56ea4c2628c..db44f490b6c7 100644 --- a/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/fluent/models/ServiceResourceInner.java +++ b/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/fluent/models/ServiceResourceInner.java @@ -6,7 +6,6 @@ import com.azure.core.annotation.Fluent; import com.azure.core.management.ProxyResource; -import com.azure.core.management.SystemData; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -23,11 +22,6 @@ public final class ServiceResourceInner extends ProxyResource { */ private ServiceProperties properties; - /* - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - private SystemData systemData; - /* * The type of the resource. */ @@ -69,15 +63,6 @@ public ServiceResourceInner withProperties(ServiceProperties properties) { return this; } - /** - * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. - * - * @return the systemData value. - */ - public SystemData systemData() { - return this.systemData; - } - /** * Get the type property: The type of the resource. * @@ -153,8 +138,6 @@ public static ServiceResourceInner fromJson(JsonReader jsonReader) throws IOExce deserializedServiceResourceInner.type = reader.getString(); } else if ("properties".equals(fieldName)) { deserializedServiceResourceInner.properties = ServiceProperties.fromJson(reader); - } else if ("systemData".equals(fieldName)) { - deserializedServiceResourceInner.systemData = SystemData.fromJson(reader); } else { reader.skipChildren(); } diff --git a/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/implementation/BgpPeerImpl.java b/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/implementation/BgpPeerImpl.java index f01fd52c441d..034177e45fd0 100644 --- a/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/implementation/BgpPeerImpl.java +++ b/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/implementation/BgpPeerImpl.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.containerorchestratorruntime.implementation; -import com.azure.core.management.SystemData; import com.azure.core.util.Context; import com.azure.resourcemanager.containerorchestratorruntime.fluent.models.BgpPeerInner; import com.azure.resourcemanager.containerorchestratorruntime.models.BgpPeer; @@ -31,10 +30,6 @@ public BgpPeerProperties properties() { return this.innerModel().properties(); } - public SystemData systemData() { - return this.innerModel().systemData(); - } - public BgpPeerInner innerModel() { return this.innerObject; } diff --git a/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/implementation/LoadBalancerImpl.java b/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/implementation/LoadBalancerImpl.java index 63ad9e279ec1..1469338ccfea 100644 --- a/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/implementation/LoadBalancerImpl.java +++ b/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/implementation/LoadBalancerImpl.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.containerorchestratorruntime.implementation; -import com.azure.core.management.SystemData; import com.azure.core.util.Context; import com.azure.resourcemanager.containerorchestratorruntime.fluent.models.LoadBalancerInner; import com.azure.resourcemanager.containerorchestratorruntime.models.LoadBalancer; @@ -31,10 +30,6 @@ public LoadBalancerProperties properties() { return this.innerModel().properties(); } - public SystemData systemData() { - return this.innerModel().systemData(); - } - public LoadBalancerInner innerModel() { return this.innerObject; } diff --git a/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/implementation/ServiceResourceImpl.java b/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/implementation/ServiceResourceImpl.java index cbc7dc988364..f28f17d347a1 100644 --- a/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/implementation/ServiceResourceImpl.java +++ b/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/implementation/ServiceResourceImpl.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.containerorchestratorruntime.implementation; -import com.azure.core.management.SystemData; import com.azure.core.util.Context; import com.azure.resourcemanager.containerorchestratorruntime.fluent.models.ServiceResourceInner; import com.azure.resourcemanager.containerorchestratorruntime.models.ServiceProperties; @@ -31,10 +30,6 @@ public ServiceProperties properties() { return this.innerModel().properties(); } - public SystemData systemData() { - return this.innerModel().systemData(); - } - public ServiceResourceInner innerModel() { return this.innerObject; } diff --git a/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/models/BgpPeer.java b/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/models/BgpPeer.java index c516d8cd7730..1c64f9c0491d 100644 --- a/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/models/BgpPeer.java +++ b/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/models/BgpPeer.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.containerorchestratorruntime.models; -import com.azure.core.management.SystemData; import com.azure.core.util.Context; import com.azure.resourcemanager.containerorchestratorruntime.fluent.models.BgpPeerInner; @@ -40,13 +39,6 @@ public interface BgpPeer { */ BgpPeerProperties properties(); - /** - * Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. - * - * @return the systemData value. - */ - SystemData systemData(); - /** * Gets the inner com.azure.resourcemanager.containerorchestratorruntime.fluent.models.BgpPeerInner object. * diff --git a/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/models/LoadBalancer.java b/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/models/LoadBalancer.java index 52a660a5e7fc..e694bd564e37 100644 --- a/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/models/LoadBalancer.java +++ b/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/models/LoadBalancer.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.containerorchestratorruntime.models; -import com.azure.core.management.SystemData; import com.azure.core.util.Context; import com.azure.resourcemanager.containerorchestratorruntime.fluent.models.LoadBalancerInner; @@ -40,13 +39,6 @@ public interface LoadBalancer { */ LoadBalancerProperties properties(); - /** - * Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. - * - * @return the systemData value. - */ - SystemData systemData(); - /** * Gets the inner com.azure.resourcemanager.containerorchestratorruntime.fluent.models.LoadBalancerInner object. * diff --git a/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/models/ServiceResource.java b/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/models/ServiceResource.java index 60428e7c639c..65941282bbaa 100644 --- a/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/models/ServiceResource.java +++ b/sdk/containerorchestratorruntime/azure-resourcemanager-containerorchestratorruntime/src/main/java/com/azure/resourcemanager/containerorchestratorruntime/models/ServiceResource.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.containerorchestratorruntime.models; -import com.azure.core.management.SystemData; import com.azure.core.util.Context; import com.azure.resourcemanager.containerorchestratorruntime.fluent.models.ServiceResourceInner; @@ -40,13 +39,6 @@ public interface ServiceResource { */ ServiceProperties properties(); - /** - * Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. - * - * @return the systemData value. - */ - SystemData systemData(); - /** * Gets the inner com.azure.resourcemanager.containerorchestratorruntime.fluent.models.ServiceResourceInner object. * diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/ServiceConfigurationResourceInner.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/ServiceConfigurationResourceInner.java index 3a7414e06557..55910ae21d93 100644 --- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/ServiceConfigurationResourceInner.java +++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/ServiceConfigurationResourceInner.java @@ -6,7 +6,6 @@ import com.azure.core.annotation.Fluent; import com.azure.core.management.ProxyResource; -import com.azure.core.management.SystemData; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -24,11 +23,6 @@ public final class ServiceConfigurationResourceInner extends ProxyResource { */ private ServiceConfigurationProperties innerProperties; - /* - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - private SystemData systemData; - /* * The type of the resource. */ @@ -59,15 +53,6 @@ private ServiceConfigurationProperties innerProperties() { return this.innerProperties; } - /** - * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. - * - * @return the systemData value. - */ - public SystemData systemData() { - return this.systemData; - } - /** * Get the type property: The type of the resource. * @@ -223,8 +208,6 @@ public static ServiceConfigurationResourceInner fromJson(JsonReader jsonReader) } else if ("properties".equals(fieldName)) { deserializedServiceConfigurationResourceInner.innerProperties = ServiceConfigurationProperties.fromJson(reader); - } else if ("systemData".equals(fieldName)) { - deserializedServiceConfigurationResourceInner.systemData = SystemData.fromJson(reader); } else { reader.skipChildren(); } diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/SolutionConfigurationInner.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/SolutionConfigurationInner.java index 49b62b121a24..4429a5829d12 100644 --- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/SolutionConfigurationInner.java +++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/SolutionConfigurationInner.java @@ -6,7 +6,6 @@ import com.azure.core.annotation.Fluent; import com.azure.core.management.ProxyResource; -import com.azure.core.management.SystemData; import com.azure.json.JsonReader; import com.azure.json.JsonToken; import com.azure.json.JsonWriter; @@ -23,11 +22,6 @@ public final class SolutionConfigurationInner extends ProxyResource { */ private SolutionConfigurationProperties properties; - /* - * Azure Resource Manager metadata containing createdBy and modifiedBy information. - */ - private SystemData systemData; - /* * The type of the resource. */ @@ -69,15 +63,6 @@ public SolutionConfigurationInner withProperties(SolutionConfigurationProperties return this; } - /** - * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. - * - * @return the systemData value. - */ - public SystemData systemData() { - return this.systemData; - } - /** * Get the type property: The type of the resource. * @@ -154,8 +139,6 @@ public static SolutionConfigurationInner fromJson(JsonReader jsonReader) throws } else if ("properties".equals(fieldName)) { deserializedSolutionConfigurationInner.properties = SolutionConfigurationProperties.fromJson(reader); - } else if ("systemData".equals(fieldName)) { - deserializedSolutionConfigurationInner.systemData = SystemData.fromJson(reader); } else { reader.skipChildren(); } diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/ServiceConfigurationResourceImpl.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/ServiceConfigurationResourceImpl.java index 869dac1aaf82..019978d84269 100644 --- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/ServiceConfigurationResourceImpl.java +++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/ServiceConfigurationResourceImpl.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.hybridconnectivity.implementation; -import com.azure.core.management.SystemData; import com.azure.core.util.Context; import com.azure.resourcemanager.hybridconnectivity.fluent.models.ServiceConfigurationResourceInner; import com.azure.resourcemanager.hybridconnectivity.models.ProvisioningState; @@ -30,10 +29,6 @@ public String type() { return this.innerModel().type(); } - public SystemData systemData() { - return this.innerModel().systemData(); - } - public ServiceName serviceName() { return this.innerModel().serviceName(); } diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/SolutionConfigurationImpl.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/SolutionConfigurationImpl.java index 60f03dc607c6..9ec103e9cb9f 100644 --- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/SolutionConfigurationImpl.java +++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/SolutionConfigurationImpl.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.hybridconnectivity.implementation; -import com.azure.core.management.SystemData; import com.azure.core.util.Context; import com.azure.resourcemanager.hybridconnectivity.fluent.models.SolutionConfigurationInner; import com.azure.resourcemanager.hybridconnectivity.models.OperationStatusResult; @@ -33,10 +32,6 @@ public SolutionConfigurationProperties properties() { return this.innerModel().properties(); } - public SystemData systemData() { - return this.innerModel().systemData(); - } - public SolutionConfigurationInner innerModel() { return this.innerObject; } diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/ServiceConfigurationResource.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/ServiceConfigurationResource.java index 2b4b8dbe2486..5563661cc285 100644 --- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/ServiceConfigurationResource.java +++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/ServiceConfigurationResource.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.hybridconnectivity.models; -import com.azure.core.management.SystemData; import com.azure.core.util.Context; import com.azure.resourcemanager.hybridconnectivity.fluent.models.ServiceConfigurationResourceInner; @@ -33,13 +32,6 @@ public interface ServiceConfigurationResource { */ String type(); - /** - * Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. - * - * @return the systemData value. - */ - SystemData systemData(); - /** * Gets the serviceName property: Name of the service. * diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionConfiguration.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionConfiguration.java index 751cdfb555e2..c5c1a807cbc6 100644 --- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionConfiguration.java +++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionConfiguration.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.hybridconnectivity.models; -import com.azure.core.management.SystemData; import com.azure.core.util.Context; import com.azure.resourcemanager.hybridconnectivity.fluent.models.SolutionConfigurationInner; @@ -40,13 +39,6 @@ public interface SolutionConfiguration { */ SolutionConfigurationProperties properties(); - /** - * Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information. - * - * @return the systemData value. - */ - SystemData systemData(); - /** * Gets the inner com.azure.resourcemanager.hybridconnectivity.fluent.models.SolutionConfigurationInner object. *