Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
c08b774
[Automation] Generate SDK based on TypeSpec 0.32.0
azure-sdk Aug 8, 2025
1d7dc55
revert azure-ai-projects
weidongxu-microsoft Aug 8, 2025
b3d9361
revert azure-resourcemanager-connectedcache
weidongxu-microsoft Aug 8, 2025
00c3385
revert azure-resourcemanager-connectedcache
weidongxu-microsoft Aug 8, 2025
6966d54
revert azure-resourcemanager-connectedcache
weidongxu-microsoft Aug 8, 2025
8f80ee5
revert azure-ai-documentintelligence
weidongxu-microsoft Aug 8, 2025
b144fbd
update commit ID for azure-ai-documentintelligence
weidongxu-microsoft Aug 8, 2025
034f28e
revert azure-resourcemanager-hybridconnectivity
weidongxu-microsoft Aug 8, 2025
a408201
revert azure-resourcemanager-iotoperations
weidongxu-microsoft Aug 8, 2025
8e59d73
revert azure-resourcemanager-neonpostgres
weidongxu-microsoft Aug 8, 2025
e99a16b
revert azure-resourcemanager-onlineexperimentation
weidongxu-microsoft Aug 8, 2025
72afc38
revert azure-resourcemanager-onlineexperimentatio
weidongxu-microsoft Aug 8, 2025
bf4105c
revert azure-resourcemanager-sitemanager
weidongxu-microsoft Aug 8, 2025
ffd6b66
revert azure-resourcemanager-sitemanager
weidongxu-microsoft Aug 8, 2025
5d1ce8c
sync deleted files
weidongxu-microsoft Aug 8, 2025
1a3c2e8
revert azure-developer-loadtesting
weidongxu-microsoft Aug 8, 2025
45fc7e1
revert azure-ai-documentintelligence
weidongxu-microsoft Aug 8, 2025
4a5dcef
revert azure-resourcemanager-impactreporting
weidongxu-microsoft Aug 8, 2025
57f225e
revert azure-resourcemanager-secretsstoreextension
weidongxu-microsoft Aug 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
revert azure-developer-loadtesting
  • Loading branch information
weidongxu-microsoft committed Aug 8, 2025
commit 1a3c2e88b16f05b249d8e9ca7c22ec5a66140541
Original file line number Diff line number Diff line change
Expand Up @@ -2544,87 +2544,4 @@ public PagedFlux<LoadTestRun> listTestRuns(String orderBy, String search, String
pagedResponse.getContinuationToken(), null));
});
}

/**
* List the metric values for a load test run.
* <p><strong>Query Parameters</strong></p>
* <table border="1">
* <caption>Query Parameters</caption>
* <tr><th>Name</th><th>Type</th><th>Required</th><th>Description</th></tr>
* <tr><td>aggregation</td><td>String</td><td>No</td><td>The aggregation</td></tr>
* <tr><td>interval</td><td>String</td><td>No</td><td>The interval (i.e. timegrain) of the query. Allowed values:
* "PT5S", "PT10S", "PT1M", "PT5M", "PT1H".</td></tr>
* </table>
* You can add these to a request with {@link RequestOptions#addQueryParam}
* <p><strong>Header Parameters</strong></p>
* <table border="1">
* <caption>Header Parameters</caption>
* <tr><th>Name</th><th>Type</th><th>Required</th><th>Description</th></tr>
* <tr><td>Content-Type</td><td>String</td><td>No</td><td>The content type. Allowed values:
* "application/json".</td></tr>
* </table>
* You can add these to a request with {@link RequestOptions#addHeader}
* <p><strong>Request Body Schema</strong></p>
*
* <pre>
* {@code
* {
* filters (Optional): [
* (Optional){
* name: String (Optional)
* values (Optional): [
* String (Optional)
* ]
* }
* ]
* }
* }
* </pre>
*
* <p><strong>Response Body Schema</strong></p>
*
* <pre>
* {@code
* {
* value (Required): [
* (Required){
* data (Optional): [
* (Optional){
* timestamp: OffsetDateTime (Optional)
* value: Double (Optional)
* }
* ]
* dimensionValues (Optional): [
* (Optional){
* name: String (Optional)
* value: String (Optional)
* }
* ]
* }
* ]
* nextLink: String (Optional)
* }
* }
* </pre>
*
* @param testRunId Unique name for the load test run, must contain only lower-case alphabetic,
* numeric, underscore or hyphen characters.
* @param metricname Metric name.
* @param metricNamespace Metric namespace to query metric definitions for.
* @param timespan The timespan of the query. It is a string with the following format
* 'startDateTime_ISO/endDateTime_ISO'.
* @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 the response to a metrics query along with {@link Response} on successful completion of {@link Mono}.
*/
@Generated
@ServiceMethod(returns = ReturnType.SINGLE)
public Mono<Response<BinaryData>> listMetricsWithResponse(String testRunId, String metricname,
String metricNamespace, String timespan, RequestOptions requestOptions) {
return this.serviceClient.listMetricsWithResponseAsync(testRunId, metricname, metricNamespace, timespan,
requestOptions);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2464,87 +2464,4 @@ public PagedIterable<LoadTestRun> listTestRuns(String orderBy, String search, St
return serviceClient.listTestRuns(requestOptions)
.mapPage(bodyItemValue -> bodyItemValue.toObject(LoadTestRun.class));
}

/**
* List the metric values for a load test run.
* <p><strong>Query Parameters</strong></p>
* <table border="1">
* <caption>Query Parameters</caption>
* <tr><th>Name</th><th>Type</th><th>Required</th><th>Description</th></tr>
* <tr><td>aggregation</td><td>String</td><td>No</td><td>The aggregation</td></tr>
* <tr><td>interval</td><td>String</td><td>No</td><td>The interval (i.e. timegrain) of the query. Allowed values:
* "PT5S", "PT10S", "PT1M", "PT5M", "PT1H".</td></tr>
* </table>
* You can add these to a request with {@link RequestOptions#addQueryParam}
* <p><strong>Header Parameters</strong></p>
* <table border="1">
* <caption>Header Parameters</caption>
* <tr><th>Name</th><th>Type</th><th>Required</th><th>Description</th></tr>
* <tr><td>Content-Type</td><td>String</td><td>No</td><td>The content type. Allowed values:
* "application/json".</td></tr>
* </table>
* You can add these to a request with {@link RequestOptions#addHeader}
* <p><strong>Request Body Schema</strong></p>
*
* <pre>
* {@code
* {
* filters (Optional): [
* (Optional){
* name: String (Optional)
* values (Optional): [
* String (Optional)
* ]
* }
* ]
* }
* }
* </pre>
*
* <p><strong>Response Body Schema</strong></p>
*
* <pre>
* {@code
* {
* value (Required): [
* (Required){
* data (Optional): [
* (Optional){
* timestamp: OffsetDateTime (Optional)
* value: Double (Optional)
* }
* ]
* dimensionValues (Optional): [
* (Optional){
* name: String (Optional)
* value: String (Optional)
* }
* ]
* }
* ]
* nextLink: String (Optional)
* }
* }
* </pre>
*
* @param testRunId Unique name for the load test run, must contain only lower-case alphabetic,
* numeric, underscore or hyphen characters.
* @param metricname Metric name.
* @param metricNamespace Metric namespace to query metric definitions for.
* @param timespan The timespan of the query. It is a string with the following format
* 'startDateTime_ISO/endDateTime_ISO'.
* @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 the response to a metrics query along with {@link Response}.
*/
@Generated
@ServiceMethod(returns = ReturnType.SINGLE)
public Response<BinaryData> listMetricsWithResponse(String testRunId, String metricname, String metricNamespace,
String timespan, RequestOptions requestOptions) {
return this.serviceClient.listMetricsWithResponse(testRunId, metricname, metricNamespace, timespan,
requestOptions);
}
}
Loading
Loading