Skip to content

Commit

Permalink
eng, bump core (#2955)
Browse files Browse the repository at this point in the history
* bump core

* sync test

* bump npm dependencies

* update core.diff

* re-generate test code

---------

Co-authored-by: actions-user <[email protected]>
  • Loading branch information
weidongxu-microsoft and actions-user authored Sep 25, 2024
1 parent 4dcd223 commit 3baaad9
Show file tree
Hide file tree
Showing 1,271 changed files with 20,601 additions and 12,001 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,11 @@ public final class DocumentModelsAsyncClient {
* You can add these to a request with {@link RequestOptions#addQueryParam}
* <p><strong>Request Body Schema</strong></p>
*
* <pre>{@code
* <pre>
* {@code
* BinaryData
* }</pre>
* }
* </pre>
*
* @param modelId Unique document model name.
* @param contentType Upload file type. Allowed values: "application/octet-stream", "application/pdf", "image/bmp",
Expand All @@ -79,7 +81,8 @@ public PollerFlux<BinaryData, BinaryData> beginAnalyzeDocument(String modelId, S
* Gets the result of document analysis.
* <p><strong>Response Body Schema</strong></p>
*
* <pre>{@code
* <pre>
* {@code
* {
* status: String(notStarted/running/failed/succeeded) (Required)
* createdDateTime: OffsetDateTime (Required)
Expand Down Expand Up @@ -282,7 +285,8 @@ public PollerFlux<BinaryData, BinaryData> beginAnalyzeDocument(String modelId, S
* ]
* }
* }
* }</pre>
* }
* </pre>
*
* @param modelId Unique document model name.
* @param resultId Analyze operation result ID.
Expand All @@ -304,7 +308,8 @@ public Mono<Response<BinaryData>> getAnalyzeResultWithResponse(String modelId, S
* Builds a custom document analysis model.
* <p><strong>Request Body Schema</strong></p>
*
* <pre>{@code
* <pre>
* {@code
* {
* modelId: String (Required)
* description: String (Optional)
Expand All @@ -317,7 +322,8 @@ public Mono<Response<BinaryData>> getAnalyzeResultWithResponse(String modelId, S
* String: String (Required)
* }
* }
* }</pre>
* }
* </pre>
*
* @param buildRequest Building request parameters.
* @param requestOptions The options to configure the HTTP request before HTTP client sends it.
Expand All @@ -337,7 +343,8 @@ public PollerFlux<BinaryData, BinaryData> beginBuildModel(BinaryData buildReques
* Creates a new document model from document types of existing document models.
* <p><strong>Request Body Schema</strong></p>
*
* <pre>{@code
* <pre>
* {@code
* {
* modelId: String (Required)
* description: String (Optional)
Expand All @@ -350,7 +357,8 @@ public PollerFlux<BinaryData, BinaryData> beginBuildModel(BinaryData buildReques
* String: String (Required)
* }
* }
* }</pre>
* }
* </pre>
*
* @param composeRequest Compose request parameters.
* @param requestOptions The options to configure the HTTP request before HTTP client sends it.
Expand All @@ -372,19 +380,22 @@ public PollerFlux<BinaryData, BinaryData> beginComposeModel(BinaryData composeRe
* description.
* <p><strong>Request Body Schema</strong></p>
*
* <pre>{@code
* <pre>
* {@code
* {
* modelId: String (Required)
* description: String (Optional)
* tags (Optional): {
* String: String (Required)
* }
* }
* }</pre>
* }
* </pre>
*
* <p><strong>Response Body Schema</strong></p>
*
* <pre>{@code
* <pre>
* {@code
* {
* targetResourceId: String (Required)
* targetResourceRegion: String (Required)
Expand All @@ -393,7 +404,8 @@ public PollerFlux<BinaryData, BinaryData> beginComposeModel(BinaryData composeRe
* accessToken: String (Required)
* expirationDateTime: OffsetDateTime (Required)
* }
* }</pre>
* }
* </pre>
*
* @param authorizeCopyRequest Authorize copy request parameters.
* @param requestOptions The options to configure the HTTP request before HTTP client sends it.
Expand All @@ -415,7 +427,8 @@ public Mono<Response<BinaryData>> authorizeModelCopyWithResponse(BinaryData auth
* Copies document model to the target resource, region, and modelId.
* <p><strong>Request Body Schema</strong></p>
*
* <pre>{@code
* <pre>
* {@code
* {
* targetResourceId: String (Required)
* targetResourceRegion: String (Required)
Expand All @@ -424,7 +437,8 @@ public Mono<Response<BinaryData>> authorizeModelCopyWithResponse(BinaryData auth
* accessToken: String (Required)
* expirationDateTime: OffsetDateTime (Required)
* }
* }</pre>
* }
* </pre>
*
* @param modelId Unique document model name.
* @param copyToRequest Copy to request parameters.
Expand All @@ -446,7 +460,8 @@ public PollerFlux<BinaryData, BinaryData> beginCopyModelTo(String modelId, Binar
* List all document models.
* <p><strong>Response Body Schema</strong></p>
*
* <pre>{@code
* <pre>
* {@code
* {
* modelId: String (Required)
* description: String (Optional)
Expand All @@ -456,7 +471,8 @@ public PollerFlux<BinaryData, BinaryData> beginCopyModelTo(String modelId, Binar
* String: String (Required)
* }
* }
* }</pre>
* }
* </pre>
*
* @param requestOptions The options to configure the HTTP request before HTTP client sends it.
* @throws HttpResponseException thrown if the request is rejected by server.
Expand All @@ -475,7 +491,8 @@ public PagedFlux<BinaryData> listModels(RequestOptions requestOptions) {
* Gets detailed document model information.
* <p><strong>Response Body Schema</strong></p>
*
* <pre>{@code
* <pre>
* {@code
* {
* modelId: String (Required)
* description: String (Optional)
Expand Down Expand Up @@ -505,7 +522,8 @@ public PagedFlux<BinaryData> listModels(RequestOptions requestOptions) {
* }
* }
* }
* }</pre>
* }
* </pre>
*
* @param modelId Unique document model name.
* @param requestOptions The options to configure the HTTP request before HTTP client sends it.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,11 @@ public final class DocumentModelsClient {
* You can add these to a request with {@link RequestOptions#addQueryParam}
* <p><strong>Request Body Schema</strong></p>
*
* <pre>{@code
* <pre>
* {@code
* BinaryData
* }</pre>
* }
* </pre>
*
* @param modelId Unique document model name.
* @param contentType Upload file type. Allowed values: "application/octet-stream", "application/pdf", "image/bmp",
Expand All @@ -78,7 +80,8 @@ public SyncPoller<BinaryData, BinaryData> beginAnalyzeDocument(String modelId, S
* Gets the result of document analysis.
* <p><strong>Response Body Schema</strong></p>
*
* <pre>{@code
* <pre>
* {@code
* {
* status: String(notStarted/running/failed/succeeded) (Required)
* createdDateTime: OffsetDateTime (Required)
Expand Down Expand Up @@ -281,7 +284,8 @@ public SyncPoller<BinaryData, BinaryData> beginAnalyzeDocument(String modelId, S
* ]
* }
* }
* }</pre>
* }
* </pre>
*
* @param modelId Unique document model name.
* @param resultId Analyze operation result ID.
Expand All @@ -303,7 +307,8 @@ public Response<BinaryData> getAnalyzeResultWithResponse(String modelId, String
* Builds a custom document analysis model.
* <p><strong>Request Body Schema</strong></p>
*
* <pre>{@code
* <pre>
* {@code
* {
* modelId: String (Required)
* description: String (Optional)
Expand All @@ -316,7 +321,8 @@ public Response<BinaryData> getAnalyzeResultWithResponse(String modelId, String
* String: String (Required)
* }
* }
* }</pre>
* }
* </pre>
*
* @param buildRequest Building request parameters.
* @param requestOptions The options to configure the HTTP request before HTTP client sends it.
Expand All @@ -336,7 +342,8 @@ public SyncPoller<BinaryData, BinaryData> beginBuildModel(BinaryData buildReques
* Creates a new document model from document types of existing document models.
* <p><strong>Request Body Schema</strong></p>
*
* <pre>{@code
* <pre>
* {@code
* {
* modelId: String (Required)
* description: String (Optional)
Expand All @@ -349,7 +356,8 @@ public SyncPoller<BinaryData, BinaryData> beginBuildModel(BinaryData buildReques
* String: String (Required)
* }
* }
* }</pre>
* }
* </pre>
*
* @param composeRequest Compose request parameters.
* @param requestOptions The options to configure the HTTP request before HTTP client sends it.
Expand All @@ -371,19 +379,22 @@ public SyncPoller<BinaryData, BinaryData> beginComposeModel(BinaryData composeRe
* description.
* <p><strong>Request Body Schema</strong></p>
*
* <pre>{@code
* <pre>
* {@code
* {
* modelId: String (Required)
* description: String (Optional)
* tags (Optional): {
* String: String (Required)
* }
* }
* }</pre>
* }
* </pre>
*
* <p><strong>Response Body Schema</strong></p>
*
* <pre>{@code
* <pre>
* {@code
* {
* targetResourceId: String (Required)
* targetResourceRegion: String (Required)
Expand All @@ -392,7 +403,8 @@ public SyncPoller<BinaryData, BinaryData> beginComposeModel(BinaryData composeRe
* accessToken: String (Required)
* expirationDateTime: OffsetDateTime (Required)
* }
* }</pre>
* }
* </pre>
*
* @param authorizeCopyRequest Authorize copy request parameters.
* @param requestOptions The options to configure the HTTP request before HTTP client sends it.
Expand All @@ -414,7 +426,8 @@ public Response<BinaryData> authorizeModelCopyWithResponse(BinaryData authorizeC
* Copies document model to the target resource, region, and modelId.
* <p><strong>Request Body Schema</strong></p>
*
* <pre>{@code
* <pre>
* {@code
* {
* targetResourceId: String (Required)
* targetResourceRegion: String (Required)
Expand All @@ -423,7 +436,8 @@ public Response<BinaryData> authorizeModelCopyWithResponse(BinaryData authorizeC
* accessToken: String (Required)
* expirationDateTime: OffsetDateTime (Required)
* }
* }</pre>
* }
* </pre>
*
* @param modelId Unique document model name.
* @param copyToRequest Copy to request parameters.
Expand All @@ -445,7 +459,8 @@ public SyncPoller<BinaryData, BinaryData> beginCopyModelTo(String modelId, Binar
* List all document models.
* <p><strong>Response Body Schema</strong></p>
*
* <pre>{@code
* <pre>
* {@code
* {
* modelId: String (Required)
* description: String (Optional)
Expand All @@ -455,7 +470,8 @@ public SyncPoller<BinaryData, BinaryData> beginCopyModelTo(String modelId, Binar
* String: String (Required)
* }
* }
* }</pre>
* }
* </pre>
*
* @param requestOptions The options to configure the HTTP request before HTTP client sends it.
* @throws HttpResponseException thrown if the request is rejected by server.
Expand All @@ -474,7 +490,8 @@ public PagedIterable<BinaryData> listModels(RequestOptions requestOptions) {
* Gets detailed document model information.
* <p><strong>Response Body Schema</strong></p>
*
* <pre>{@code
* <pre>
* {@code
* {
* modelId: String (Required)
* description: String (Optional)
Expand Down Expand Up @@ -504,7 +521,8 @@ public PagedIterable<BinaryData> listModels(RequestOptions requestOptions) {
* }
* }
* }
* }</pre>
* }
* </pre>
*
* @param modelId Unique document model name.
* @param requestOptions The options to configure the HTTP request before HTTP client sends it.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
import com.azure.core.http.policy.AddDatePolicy;
import com.azure.core.http.policy.AddHeadersFromContextPolicy;
import com.azure.core.http.policy.AddHeadersPolicy;
import com.azure.core.http.policy.HttpLoggingPolicy;
import com.azure.core.http.policy.HttpLogOptions;
import com.azure.core.http.policy.HttpLoggingPolicy;
import com.azure.core.http.policy.HttpPipelinePolicy;
import com.azure.core.http.policy.HttpPolicyProviders;
import com.azure.core.http.policy.KeyCredentialPolicy;
Expand Down
Loading

0 comments on commit 3baaad9

Please sign in to comment.