Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion sdk/loadtesting/azure-developer-loadtesting/MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ include azure/developer/loadtesting/py.typed
recursive-include tests *.py
recursive-include samples *.py *.md
include azure/__init__.py
include azure/developer/__init__.py
include azure/developer/__init__.py
6 changes: 6 additions & 0 deletions sdk/loadtesting/azure-developer-loadtesting/_meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"commit": "0452565bc97d1f2d55954d99d170a38529ba7e4b",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"typespec_src": "specification/loadtestservice/LoadTestService",
"@azure-tools/typespec-python": "0.42.2"
}
101 changes: 101 additions & 0 deletions sdk/loadtesting/azure-developer-loadtesting/apiview-properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
{
"CrossLanguagePackageId": "Microsoft.LoadTestService",
"CrossLanguageDefinitionId": {
"azure.developer.loadtesting.models.AppComponent": "Microsoft.LoadTestService.AppComponent",
"azure.developer.loadtesting.models.ArtifactsContainerInfo": "Microsoft.LoadTestService.ArtifactsContainerInfo",
"azure.developer.loadtesting.models.AutoStopCriteria": "Microsoft.LoadTestService.AutoStopCriteria",
"azure.developer.loadtesting.models.CertificateMetadata": "Microsoft.LoadTestService.CertificateMetadata",
"azure.developer.loadtesting.models.DimensionFilter": "Microsoft.LoadTestService.DimensionFilter",
"azure.developer.loadtesting.models.DimensionValue": "Microsoft.LoadTestService.DimensionValue",
"azure.developer.loadtesting.models.ErrorDetails": "Microsoft.LoadTestService.ErrorDetails",
"azure.developer.loadtesting.models.FunctionFlexConsumptionResourceConfiguration": "Microsoft.LoadTestService.FunctionFlexConsumptionResourceConfiguration",
"azure.developer.loadtesting.models.TargetResourceConfigurations": "Microsoft.LoadTestService.TargetResourceConfigurations",
"azure.developer.loadtesting.models.FunctionFlexConsumptionTargetResourceConfigurations": "Microsoft.LoadTestService.FunctionFlexConsumptionTargetResourceConfigurations",
"azure.developer.loadtesting.models.LoadTestConfiguration": "Microsoft.LoadTestService.LoadTestConfiguration",
"azure.developer.loadtesting.models.MetricAvailability": "Microsoft.LoadTestService.MetricAvailability",
"azure.developer.loadtesting.models.MetricDefinition": "Microsoft.LoadTestService.MetricDefinition",
"azure.developer.loadtesting.models.MetricDefinitionCollection": "Microsoft.LoadTestService.MetricDefinitionCollection",
"azure.developer.loadtesting.models.MetricNamespace": "Microsoft.LoadTestService.MetricNamespace",
"azure.developer.loadtesting.models.MetricNamespaceCollection": "Microsoft.LoadTestService.MetricNamespaceCollection",
"azure.developer.loadtesting.models.MetricRequestPayload": "Microsoft.LoadTestService.MetricRequestPayload",
"azure.developer.loadtesting.models.MetricValue": "Microsoft.LoadTestService.MetricValue",
"azure.developer.loadtesting.models.NameAndDescription": "Microsoft.LoadTestService.NameAndDescription",
"azure.developer.loadtesting.models.OptionalLoadTestConfiguration": "Microsoft.LoadTestService.OptionalLoadTestConfiguration",
"azure.developer.loadtesting.models.PassFailCriteria": "Microsoft.LoadTestService.PassFailCriteria",
"azure.developer.loadtesting.models.PassFailMetric": "Microsoft.LoadTestService.PassFailMetric",
"azure.developer.loadtesting.models.PassFailServerMetric": "Microsoft.LoadTestService.PassFailServerMetric",
"azure.developer.loadtesting.models.RegionalConfiguration": "Microsoft.LoadTestService.RegionalConfiguration",
"azure.developer.loadtesting.models.ResourceMetric": "Microsoft.LoadTestService.ResourceMetric",
"azure.developer.loadtesting.models.Secret": "Microsoft.LoadTestService.Secret",
"azure.developer.loadtesting.models.Test": "Microsoft.LoadTestService.Test",
"azure.developer.loadtesting.models.TestAppComponents": "Microsoft.LoadTestService.TestAppComponents",
"azure.developer.loadtesting.models.TestFileInfo": "Microsoft.LoadTestService.TestFileInfo",
"azure.developer.loadtesting.models.TestInputArtifacts": "Microsoft.LoadTestService.TestInputArtifacts",
"azure.developer.loadtesting.models.TestProfile": "Microsoft.LoadTestService.TestProfile",
"azure.developer.loadtesting.models.TestProfileRun": "Microsoft.LoadTestService.TestProfileRun",
"azure.developer.loadtesting.models.TestProfileRunRecommendation": "Microsoft.LoadTestService.TestProfileRunRecommendation",
"azure.developer.loadtesting.models.TestRun": "Microsoft.LoadTestService.TestRun",
"azure.developer.loadtesting.models.TestRunAppComponents": "Microsoft.LoadTestService.TestRunAppComponents",
"azure.developer.loadtesting.models.TestRunArtifacts": "Microsoft.LoadTestService.TestRunArtifacts",
"azure.developer.loadtesting.models.TestRunDetail": "Microsoft.LoadTestService.TestRunDetail",
"azure.developer.loadtesting.models.TestRunFileInfo": "Microsoft.LoadTestService.TestRunFileInfo",
"azure.developer.loadtesting.models.TestRunInputArtifacts": "Microsoft.LoadTestService.TestRunInputArtifacts",
"azure.developer.loadtesting.models.TestRunOutputArtifacts": "Microsoft.LoadTestService.TestRunOutputArtifacts",
"azure.developer.loadtesting.models.TestRunServerMetricsConfiguration": "Microsoft.LoadTestService.TestRunServerMetricsConfiguration",
"azure.developer.loadtesting.models.TestRunStatistics": "Microsoft.LoadTestService.TestRunStatistics",
"azure.developer.loadtesting.models.TestServerMetricsConfiguration": "Microsoft.LoadTestService.TestServerMetricsConfiguration",
"azure.developer.loadtesting.models.TimeSeriesElement": "Microsoft.LoadTestService.TimeSeriesElement",
"azure.developer.loadtesting.models.PFMetrics": "Microsoft.LoadTestService.PFMetrics",
"azure.developer.loadtesting.models.PassFailAggregationFunction": "Microsoft.LoadTestService.PassFailAggregationFunction",
"azure.developer.loadtesting.models.PassFailAction": "Microsoft.LoadTestService.PassFailAction",
"azure.developer.loadtesting.models.PassFailResult": "Microsoft.LoadTestService.PassFailResult",
"azure.developer.loadtesting.models.SecretType": "Microsoft.LoadTestService.SecretType",
"azure.developer.loadtesting.models.CertificateType": "Microsoft.LoadTestService.CertificateType",
"azure.developer.loadtesting.models.FileType": "Microsoft.LoadTestService.FileType",
"azure.developer.loadtesting.models.FileValidationStatus": "Microsoft.LoadTestService.FileValidationStatus",
"azure.developer.loadtesting.models.TestKind": "Microsoft.LoadTestService.TestKind",
"azure.developer.loadtesting.models.ManagedIdentityType": "Microsoft.LoadTestService.ManagedIdentityType",
"azure.developer.loadtesting.models.ResourceKind": "Microsoft.LoadTestService.ResourceKind",
"azure.developer.loadtesting.models.PassFailTestResult": "Microsoft.LoadTestService.PassFailTestResult",
"azure.developer.loadtesting.models.TestRunStatus": "Microsoft.LoadTestService.TestRunStatus",
"azure.developer.loadtesting.models.RequestDataLevel": "Microsoft.LoadTestService.RequestDataLevel",
"azure.developer.loadtesting.models.CreatedByType": "Microsoft.LoadTestService.CreatedByType",
"azure.developer.loadtesting.models.TimeGrain": "Microsoft.LoadTestService.TimeGrain",
"azure.developer.loadtesting.models.Aggregation": "Microsoft.LoadTestService.Aggregation",
"azure.developer.loadtesting.models.MetricUnit": "Microsoft.LoadTestService.MetricUnit",
"azure.developer.loadtesting.models.TestProfileRunStatus": "Microsoft.LoadTestService.TestProfileRunStatus",
"azure.developer.loadtesting.models.RecommendationCategory": "Microsoft.LoadTestService.RecommendationCategory",
"azure.developer.loadtesting.LoadTestAdministrationClient.create_or_update_test": "Customizations.AdministrationOperations.createOrUpdateTest",
"azure.developer.loadtesting.LoadTestAdministrationClient.create_or_update_app_components": "Customizations.AdministrationOperations.createOrUpdateAppComponents",
"azure.developer.loadtesting.LoadTestAdministrationClient.create_or_update_server_metrics_config": "Customizations.AdministrationOperations.createOrUpdateServerMetricsConfig",
"azure.developer.loadtesting.LoadTestAdministrationClient.get_app_components": "Customizations.AdministrationOperations.getAppComponents",
"azure.developer.loadtesting.LoadTestAdministrationClient.get_server_metrics_config": "Customizations.AdministrationOperations.getServerMetricsConfig",
"azure.developer.loadtesting.LoadTestAdministrationClient.get_test": "Customizations.AdministrationOperations.getTest",
"azure.developer.loadtesting.LoadTestAdministrationClient.get_test_file": "Customizations.AdministrationOperations.getTestFile",
"azure.developer.loadtesting.LoadTestAdministrationClient.list_test_files": "Customizations.AdministrationOperations.listTestFiles",
"azure.developer.loadtesting.LoadTestAdministrationClient.list_tests": "Customizations.AdministrationOperations.listTests",
"azure.developer.loadtesting.LoadTestAdministrationClient.delete_test_file": "Customizations.AdministrationOperations.deleteTestFile",
"azure.developer.loadtesting.LoadTestAdministrationClient.delete_test": "Customizations.AdministrationOperations.deleteTest",
"azure.developer.loadtesting.LoadTestAdministrationClient.create_or_update_test_profile": "Customizations.AdministrationOperations.createOrUpdateTestProfile",
"azure.developer.loadtesting.LoadTestAdministrationClient.delete_test_profile": "Customizations.AdministrationOperations.deleteTestProfile",
"azure.developer.loadtesting.LoadTestAdministrationClient.get_test_profile": "Customizations.AdministrationOperations.getTestProfile",
"azure.developer.loadtesting.LoadTestAdministrationClient.list_test_profiles": "Customizations.AdministrationOperations.listTestProfiles",
"azure.developer.loadtesting.LoadTestRunClient.create_or_update_app_components": "Customizations.TestRunOperations.createOrUpdateAppComponents",
"azure.developer.loadtesting.LoadTestRunClient.create_or_update_server_metrics_config": "Customizations.TestRunOperations.createOrUpdateServerMetricsConfig",
"azure.developer.loadtesting.LoadTestRunClient.delete_test_run": "Customizations.TestRunOperations.deleteTestRun",
"azure.developer.loadtesting.LoadTestRunClient.get_app_components": "Customizations.TestRunOperations.getAppComponents",
"azure.developer.loadtesting.LoadTestRunClient.get_server_metrics_config": "Customizations.TestRunOperations.getServerMetricsConfig",
"azure.developer.loadtesting.LoadTestRunClient.get_test_run": "Customizations.TestRunOperations.getTestRun",
"azure.developer.loadtesting.LoadTestRunClient.get_test_run_file": "Customizations.TestRunOperations.getTestRunFile",
"azure.developer.loadtesting.LoadTestRunClient.list_metric_dimension_values": "Customizations.TestRunOperations.listMetricDimensionValues",
"azure.developer.loadtesting.LoadTestRunClient.get_metric_definitions": "Customizations.TestRunOperations.listMetricDefinitions",
"azure.developer.loadtesting.LoadTestRunClient.get_metric_namespaces": "Customizations.TestRunOperations.listMetricNamespaces",
"azure.developer.loadtesting.LoadTestRunClient.list_metrics": "Customizations.TestRunOperations.listMetrics",
"azure.developer.loadtesting.LoadTestRunClient.list_test_runs": "Customizations.TestRunOperations.listTestRuns",
"azure.developer.loadtesting.LoadTestRunClient.stop_test_run": "Customizations.TestRunOperations.stop",
"azure.developer.loadtesting.LoadTestRunClient.delete_test_profile_run": "Customizations.TestRunOperations.deleteTestProfileRun",
"azure.developer.loadtesting.LoadTestRunClient.get_test_profile_run": "Customizations.TestRunOperations.getTestProfileRun",
"azure.developer.loadtesting.LoadTestRunClient.list_test_profile_runs": "Customizations.TestRunOperations.listTestProfileRuns",
"azure.developer.loadtesting.LoadTestRunClient.stop_test_profile_run": "Customizations.TestRunOperations.stopTestProfileRun"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) Python Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
# pylint: disable=protected-access, broad-except

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1851,7 +1851,7 @@ def prepare_request(next_link=None):

def extract_data(pipeline_response):
deserialized = pipeline_response.http_response.json()
list_of_elem = _deserialize(List[_models.TestFileInfo], deserialized["value"])
list_of_elem = _deserialize(List[_models.TestFileInfo], deserialized.get("value", []))
if cls:
list_of_elem = cls(list_of_elem) # type: ignore
return deserialized.get("nextLink") or None, iter(list_of_elem)
Expand Down Expand Up @@ -1960,7 +1960,7 @@ def prepare_request(next_link=None):

def extract_data(pipeline_response):
deserialized = pipeline_response.http_response.json()
list_of_elem = _deserialize(List[_models.Test], deserialized["value"])
list_of_elem = _deserialize(List[_models.Test], deserialized.get("value", []))
if cls:
list_of_elem = cls(list_of_elem) # type: ignore
return deserialized.get("nextLink") or None, iter(list_of_elem)
Expand Down Expand Up @@ -2556,7 +2556,7 @@ def prepare_request(next_link=None):

def extract_data(pipeline_response):
deserialized = pipeline_response.http_response.json()
list_of_elem = _deserialize(List[_models.TestProfile], deserialized["value"])
list_of_elem = _deserialize(List[_models.TestProfile], deserialized.get("value", []))
if cls:
list_of_elem = cls(list_of_elem) # type: ignore
return deserialized.get("nextLink") or None, iter(list_of_elem)
Expand Down Expand Up @@ -3399,7 +3399,7 @@ def prepare_request(next_link=None):

def extract_data(pipeline_response):
deserialized = pipeline_response.http_response.json()
list_of_elem = _deserialize(List[str], deserialized["value"])
list_of_elem = _deserialize(List[str], deserialized.get("value", []))
if cls:
list_of_elem = cls(list_of_elem) # type: ignore
return deserialized.get("nextLink") or None, iter(list_of_elem)
Expand Down Expand Up @@ -3788,7 +3788,7 @@ def prepare_request(next_link=None):

def extract_data(pipeline_response):
deserialized = pipeline_response.http_response.json()
list_of_elem = _deserialize(List[_models.TimeSeriesElement], deserialized["value"])
list_of_elem = _deserialize(List[_models.TimeSeriesElement], deserialized.get("value", []))
if cls:
list_of_elem = cls(list_of_elem) # type: ignore
return deserialized.get("nextLink") or None, iter(list_of_elem)
Expand Down Expand Up @@ -3903,7 +3903,7 @@ def prepare_request(next_link=None):

def extract_data(pipeline_response):
deserialized = pipeline_response.http_response.json()
list_of_elem = _deserialize(List[_models.TestRun], deserialized["value"])
list_of_elem = _deserialize(List[_models.TestRun], deserialized.get("value", []))
if cls:
list_of_elem = cls(list_of_elem) # type: ignore
return deserialized.get("nextLink") or None, iter(list_of_elem)
Expand Down Expand Up @@ -4345,7 +4345,7 @@ def prepare_request(next_link=None):

def extract_data(pipeline_response):
deserialized = pipeline_response.http_response.json()
list_of_elem = _deserialize(List[_models.TestProfileRun], deserialized["value"])
list_of_elem = _deserialize(List[_models.TestProfileRun], deserialized.get("value", []))
if cls:
list_of_elem = cls(list_of_elem) # type: ignore
return deserialized.get("nextLink") or None, iter(list_of_elem)
Expand Down
Loading