Skip to content

Commit 280eb04

Browse files
committed
Add missing released clients, fix some descriptions
1 parent fa8a8f3 commit 280eb04

File tree

11 files changed

+755
-119
lines changed

11 files changed

+755
-119
lines changed

azure-devops/azure/devops/released/cloud_load_test/cloud_load_test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def create_agent_group(self, group):
3939

4040
def get_agent_groups(self, agent_group_id=None, machine_setup_input=None, machine_access_data=None, outgoing_request_urls=None, agent_group_name=None):
4141
"""GetAgentGroups.
42-
:param str agent_group_id: The agent group indentifier
42+
:param str agent_group_id: The agent group identifier
4343
:param bool machine_setup_input:
4444
:param bool machine_access_data:
4545
:param bool outgoing_request_urls:
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# --------------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
# --------------------------------------------------------------------------------------------
5+
# Generated file, DO NOT EDIT
6+
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
7+
# --------------------------------------------------------------------------------------------
8+
9+
from ...v5_1.notification.models import *
10+
from .notification_client import NotificationClient
11+
12+
__all__ = [
13+
'ArtifactFilter',
14+
'BaseSubscriptionFilter',
15+
'BatchNotificationOperation',
16+
'EventActor',
17+
'EventScope',
18+
'EventsEvaluationResult',
19+
'EventTransformRequest',
20+
'EventTransformResult',
21+
'ExpressionFilterClause',
22+
'ExpressionFilterGroup',
23+
'ExpressionFilterModel',
24+
'FieldInputValues',
25+
'FieldValuesQuery',
26+
'GraphSubjectBase',
27+
'IdentityRef',
28+
'INotificationDiagnosticLog',
29+
'InputValue',
30+
'InputValues',
31+
'InputValuesError',
32+
'InputValuesQuery',
33+
'ISubscriptionChannel',
34+
'ISubscriptionFilter',
35+
'NotificationAdminSettings',
36+
'NotificationAdminSettingsUpdateParameters',
37+
'NotificationDiagnosticLogMessage',
38+
'NotificationEventField',
39+
'NotificationEventFieldOperator',
40+
'NotificationEventFieldType',
41+
'NotificationEventPublisher',
42+
'NotificationEventRole',
43+
'NotificationEventType',
44+
'NotificationEventTypeCategory',
45+
'NotificationQueryCondition',
46+
'NotificationReason',
47+
'NotificationsEvaluationResult',
48+
'NotificationStatistic',
49+
'NotificationStatisticsQuery',
50+
'NotificationStatisticsQueryConditions',
51+
'NotificationSubscriber',
52+
'NotificationSubscriberUpdateParameters',
53+
'NotificationSubscription',
54+
'NotificationSubscriptionCreateParameters',
55+
'NotificationSubscriptionTemplate',
56+
'NotificationSubscriptionUpdateParameters',
57+
'OperatorConstraint',
58+
'ReferenceLinks',
59+
'SubscriptionAdminSettings',
60+
'SubscriptionChannelWithAddress',
61+
'SubscriptionDiagnostics',
62+
'SubscriptionEvaluationRequest',
63+
'SubscriptionEvaluationResult',
64+
'SubscriptionEvaluationSettings',
65+
'SubscriptionManagement',
66+
'SubscriptionQuery',
67+
'SubscriptionQueryCondition',
68+
'SubscriptionScope',
69+
'SubscriptionTracing',
70+
'SubscriptionUserSettings',
71+
'UpdateSubscripitonDiagnosticsParameters',
72+
'UpdateSubscripitonTracingParameters',
73+
'ValueDefinition',
74+
'VssNotificationEvent',
75+
'NotificationClient'
76+
]

azure-devops/azure/devops/released/notification/notification_client.py

Lines changed: 296 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# --------------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
# --------------------------------------------------------------------------------------------
5+
# Generated file, DO NOT EDIT
6+
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
7+
# --------------------------------------------------------------------------------------------
8+
9+
from ...v5_1.test_plan.models import *
10+
from .test_plan_client import TestPlanClient
11+
12+
__all__ = [
13+
'BuildDefinitionReference',
14+
'CloneOperationCommonResponse',
15+
'CloneOptions',
16+
'CloneStatistics',
17+
'CloneTestPlanOperationInformation',
18+
'CloneTestPlanParams',
19+
'CloneTestSuiteOperationInformation',
20+
'CloneTestSuiteParams',
21+
'Configuration',
22+
'DestinationTestPlanCloneParams',
23+
'DestinationTestSuiteInfo',
24+
'GraphSubjectBase',
25+
'IdentityRef',
26+
'LastResultDetails',
27+
'NameValuePair',
28+
'PointAssignment',
29+
'ReferenceLinks',
30+
'ReleaseEnvironmentDefinitionReference',
31+
'Results',
32+
'SourceTestPlanInfo',
33+
'SourceTestplanResponse',
34+
'SourceTestSuiteInfo',
35+
'SuiteEntry',
36+
'SuiteEntryUpdateParams',
37+
'SuiteTestCaseCreateUpdateParameters',
38+
'TeamProjectReference',
39+
'TestCase',
40+
'TestCaseReference',
41+
'TestConfiguration',
42+
'TestConfigurationCreateUpdateParameters',
43+
'TestConfigurationReference',
44+
'TestEnvironment',
45+
'TestOutcomeSettings',
46+
'TestPlan',
47+
'TestPlanCreateParams',
48+
'TestPlanDetailedReference',
49+
'TestPlanReference',
50+
'TestPlansHubRefreshData',
51+
'TestPlanUpdateParams',
52+
'TestPoint',
53+
'TestPointCount',
54+
'TestPointResults',
55+
'TestPointUpdateParams',
56+
'TestSettings',
57+
'TestSuite',
58+
'TestSuiteCreateParams',
59+
'TestSuiteCreateUpdateCommonParams',
60+
'TestSuiteReference',
61+
'TestSuiteReferenceWithProject',
62+
'TestSuiteUpdateParams',
63+
'TestVariable',
64+
'TestVariableCreateUpdateParameters',
65+
'WorkItem',
66+
'WorkItemDetails',
67+
'TestPlanClient'
68+
]
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# --------------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
# --------------------------------------------------------------------------------------------
5+
# Generated file, DO NOT EDIT
6+
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
7+
# --------------------------------------------------------------------------------------------
8+
9+
from msrest import Serializer, Deserializer
10+
from ...client import Client
11+
from ...v5_1.test_plan import models
12+
13+
14+
class TestPlanClient(Client):
15+
"""TestPlan
16+
:param str base_url: Service URL
17+
:param Authentication creds: Authenticated credentials.
18+
"""
19+
20+
def __init__(self, base_url=None, creds=None):
21+
super(TestPlanClient, self).__init__(base_url, creds)
22+
client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
23+
self._serialize = Serializer(client_models)
24+
self._deserialize = Deserializer(client_models)
25+
26+
resource_area_identifier = None
27+
28+
def get_suites_by_test_case_id(self, test_case_id):
29+
"""GetSuitesByTestCaseId.
30+
Find the list of all test suites in which a given test case is present. This is helpful if you need to find out which test suites are using a test case, when you need to make changes to a test case.
31+
:param int test_case_id: ID of the test case for which suites need to be fetched.
32+
:rtype: [TestSuite]
33+
"""
34+
query_parameters = {}
35+
if test_case_id is not None:
36+
query_parameters['testCaseId'] = self._serialize.query('test_case_id', test_case_id, 'int')
37+
response = self._send(http_method='GET',
38+
location_id='a4080e84-f17b-4fad-84f1-7960b6525bf2',
39+
version='5.1',
40+
query_parameters=query_parameters)
41+
return self._deserialize('[TestSuite]', self._unwrap_collection(response))
42+
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
# --------------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
# --------------------------------------------------------------------------------------------
5+
# Generated file, DO NOT EDIT
6+
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
7+
# --------------------------------------------------------------------------------------------
8+
9+
from ...v5_1.test_results.models import *
10+
from .test_results_client import TestResultsClient
11+
12+
__all__ = [
13+
'AggregatedDataForResultTrend',
14+
'AggregatedResultsAnalysis',
15+
'AggregatedResultsByOutcome',
16+
'AggregatedResultsDifference',
17+
'AggregatedRunsByOutcome',
18+
'AggregatedRunsByState',
19+
'BuildConfiguration',
20+
'BuildCoverage',
21+
'BuildReference',
22+
'CodeCoverageData',
23+
'CodeCoverageStatistics',
24+
'CodeCoverageSummary',
25+
'CoverageStatistics',
26+
'CustomTestField',
27+
'DtlEnvironmentDetails',
28+
'FailingSince',
29+
'FieldDetailsForTestResults',
30+
'FileCoverageRequest',
31+
'FlakyDetection',
32+
'FlakyDetectionPipelines',
33+
'FlakySettings',
34+
'FunctionCoverage',
35+
'GraphSubjectBase',
36+
'IdentityRef',
37+
'JobReference',
38+
'ModuleCoverage',
39+
'PhaseReference',
40+
'PipelineReference',
41+
'QueryModel',
42+
'ReferenceLinks',
43+
'ReleaseReference',
44+
'ResultsFilter',
45+
'RunCreateModel',
46+
'RunFilter',
47+
'RunStatistic',
48+
'RunSummaryModel',
49+
'RunUpdateModel',
50+
'ShallowReference',
51+
'ShallowTestCaseResult',
52+
'SharedStepModel',
53+
'StageReference',
54+
'TeamProjectReference',
55+
'TestActionResultModel',
56+
'TestAttachment',
57+
'TestAttachmentReference',
58+
'TestAttachmentRequestModel',
59+
'TestCaseResult',
60+
'TestCaseResultAttachmentModel',
61+
'TestCaseResultIdentifier',
62+
'TestEnvironment',
63+
'TestFailureDetails',
64+
'TestFailuresAnalysis',
65+
'TestFlakyIdentifier',
66+
'TestHistoryQuery',
67+
'TestIterationDetailsModel',
68+
'TestLog',
69+
'TestLogReference',
70+
'TestLogStoreEndpointDetails',
71+
'TestMessageLogDetails',
72+
'TestMethod',
73+
'TestOperationReference',
74+
'TestResolutionState',
75+
'TestResultDocument',
76+
'TestResultHistory',
77+
'TestResultHistoryDetailsForGroup',
78+
'TestResultHistoryForGroup',
79+
'TestResultMetaData',
80+
'TestResultMetaDataUpdateInput',
81+
'TestResultModelBase',
82+
'TestResultParameterModel',
83+
'TestResultPayload',
84+
'TestResultsContext',
85+
'TestResultsDetails',
86+
'TestResultsDetailsForGroup',
87+
'TestResultsQuery',
88+
'TestResultsSettings',
89+
'TestResultSummary',
90+
'TestResultsUpdateSettings',
91+
'TestResultTrendFilter',
92+
'TestRun',
93+
'TestRunCoverage',
94+
'TestRunStatistic',
95+
'TestSettings',
96+
'TestSubResult',
97+
'TestSummaryForWorkItem',
98+
'TestTag',
99+
'TestTagSummary',
100+
'TestTagsUpdateModel',
101+
'TestToWorkItemLinks',
102+
'WorkItemReference',
103+
'WorkItemToTestLinks',
104+
'TestResultsClient'
105+
]
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# --------------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
# --------------------------------------------------------------------------------------------
5+
# Generated file, DO NOT EDIT
6+
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
7+
# --------------------------------------------------------------------------------------------
8+
9+
from msrest import Serializer, Deserializer
10+
from ...client import Client
11+
from ...v5_1.test_results import models
12+
13+
14+
class TestResultsClient(Client):
15+
"""TestResults
16+
:param str base_url: Service URL
17+
:param Authentication creds: Authenticated credentials.
18+
"""
19+
20+
def __init__(self, base_url=None, creds=None):
21+
super(TestResultsClient, self).__init__(base_url, creds)
22+
client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
23+
self._serialize = Serializer(client_models)
24+
self._deserialize = Deserializer(client_models)
25+
26+
resource_area_identifier = None
27+
28+
def get_test_run_statistics(self, project, run_id):
29+
"""GetTestRunStatistics.
30+
Get test run statistics , used when we want to get summary of a run by outcome.
31+
:param str project: Project ID or project name
32+
:param int run_id: ID of the run to get.
33+
:rtype: :class:`<TestRunStatistic> <azure.devops.v5_1.test_results.models.TestRunStatistic>`
34+
"""
35+
route_values = {}
36+
if project is not None:
37+
route_values['project'] = self._serialize.url('project', project, 'str')
38+
if run_id is not None:
39+
route_values['runId'] = self._serialize.url('run_id', run_id, 'int')
40+
response = self._send(http_method='GET',
41+
location_id='82b986e8-ca9e-4a89-b39e-f65c69bc104a',
42+
version='5.1',
43+
route_values=route_values)
44+
return self._deserialize('TestRunStatistic', response)
45+

azure-devops/azure/devops/v5_1/cloud_load_test/cloud_load_test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def create_agent_group(self, group):
3939

4040
def get_agent_groups(self, agent_group_id=None, machine_setup_input=None, machine_access_data=None, outgoing_request_urls=None, agent_group_name=None):
4141
"""GetAgentGroups.
42-
:param str agent_group_id: The agent group indentifier
42+
:param str agent_group_id: The agent group identifier
4343
:param bool machine_setup_input:
4444
:param bool machine_access_data:
4545
:param bool outgoing_request_urls:

0 commit comments

Comments
 (0)