Skip to content

Add new 4.0 and 4.1 REST areas: CLT, Graph, MEM, Profile, Service Endpoint, Symbol, Wiki, WIT Process, WIT Process Def, WIT Process Template #82

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 13, 2018
Merged
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions vsts/vsts/cloud_load_test/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
# Generated file, DO NOT EDIT
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------------------------
7 changes: 7 additions & 0 deletions vsts/vsts/cloud_load_test/v4_1/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
# Generated file, DO NOT EDIT
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------------------------
438 changes: 438 additions & 0 deletions vsts/vsts/cloud_load_test/v4_1/cloud_load_test_client.py

Large diffs are not rendered by default.

107 changes: 107 additions & 0 deletions vsts/vsts/cloud_load_test/v4_1/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
# Generated file, DO NOT EDIT
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------------------------

from .agent_group import AgentGroup
from .agent_group_access_data import AgentGroupAccessData
from .application import Application
from .application_counters import ApplicationCounters
from .application_type import ApplicationType
from .browser_mix import BrowserMix
from .clt_customer_intelligence_data import CltCustomerIntelligenceData
from .counter_group import CounterGroup
from .counter_instance_samples import CounterInstanceSamples
from .counter_sample import CounterSample
from .counter_sample_query_details import CounterSampleQueryDetails
from .counter_samples_result import CounterSamplesResult
from .diagnostics import Diagnostics
from .drop_access_data import DropAccessData
from .error_details import ErrorDetails
from .load_generation_geo_location import LoadGenerationGeoLocation
from .load_test import LoadTest
from .load_test_definition import LoadTestDefinition
from .load_test_errors import LoadTestErrors
from .load_test_run_details import LoadTestRunDetails
from .load_test_run_settings import LoadTestRunSettings
from .overridable_run_settings import OverridableRunSettings
from .page_summary import PageSummary
from .request_summary import RequestSummary
from .scenario_summary import ScenarioSummary
from .static_agent_run_setting import StaticAgentRunSetting
from .sub_type import SubType
from .summary_percentile_data import SummaryPercentileData
from .tenant_details import TenantDetails
from .test_definition import TestDefinition
from .test_definition_basic import TestDefinitionBasic
from .test_drop import TestDrop
from .test_drop_ref import TestDropRef
from .test_results import TestResults
from .test_results_summary import TestResultsSummary
from .test_run import TestRun
from .test_run_abort_message import TestRunAbortMessage
from .test_run_basic import TestRunBasic
from .test_run_counter_instance import TestRunCounterInstance
from .test_run_message import TestRunMessage
from .test_settings import TestSettings
from .test_summary import TestSummary
from .transaction_summary import TransactionSummary
from .web_api_load_test_machine_input import WebApiLoadTestMachineInput
from .web_api_setup_paramaters import WebApiSetupParamaters
from .web_api_test_machine import WebApiTestMachine
from .web_api_user_load_test_machine_input import WebApiUserLoadTestMachineInput
from .web_instance_summary_data import WebInstanceSummaryData

__all__ = [
'AgentGroup',
'AgentGroupAccessData',
'Application',
'ApplicationCounters',
'ApplicationType',
'BrowserMix',
'CltCustomerIntelligenceData',
'CounterGroup',
'CounterInstanceSamples',
'CounterSample',
'CounterSampleQueryDetails',
'CounterSamplesResult',
'Diagnostics',
'DropAccessData',
'ErrorDetails',
'LoadGenerationGeoLocation',
'LoadTest',
'LoadTestDefinition',
'LoadTestErrors',
'LoadTestRunDetails',
'LoadTestRunSettings',
'OverridableRunSettings',
'PageSummary',
'RequestSummary',
'ScenarioSummary',
'StaticAgentRunSetting',
'SubType',
'SummaryPercentileData',
'TenantDetails',
'TestDefinition',
'TestDefinitionBasic',
'TestDrop',
'TestDropRef',
'TestResults',
'TestResultsSummary',
'TestRun',
'TestRunAbortMessage',
'TestRunBasic',
'TestRunCounterInstance',
'TestRunMessage',
'TestSettings',
'TestSummary',
'TransactionSummary',
'WebApiLoadTestMachineInput',
'WebApiSetupParamaters',
'WebApiTestMachine',
'WebApiUserLoadTestMachineInput',
'WebInstanceSummaryData',
]
49 changes: 49 additions & 0 deletions vsts/vsts/cloud_load_test/v4_1/models/agent_group.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
# Generated file, DO NOT EDIT
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------------------------

from msrest.serialization import Model


class AgentGroup(Model):
"""AgentGroup.

:param created_by:
:type created_by: IdentityRef
:param creation_time:
:type creation_time: datetime
:param group_id:
:type group_id: str
:param group_name:
:type group_name: str
:param machine_access_data:
:type machine_access_data: list of :class:`AgentGroupAccessData <microsoft.-visual-studio.-test-service.-web-api-model.v4_1.models.AgentGroupAccessData>`
:param machine_configuration:
:type machine_configuration: :class:`WebApiUserLoadTestMachineInput <microsoft.-visual-studio.-test-service.-web-api-model.v4_1.models.WebApiUserLoadTestMachineInput>`
:param tenant_id:
:type tenant_id: str
"""

_attribute_map = {
'created_by': {'key': 'createdBy', 'type': 'IdentityRef'},
'creation_time': {'key': 'creationTime', 'type': 'iso-8601'},
'group_id': {'key': 'groupId', 'type': 'str'},
'group_name': {'key': 'groupName', 'type': 'str'},
'machine_access_data': {'key': 'machineAccessData', 'type': '[AgentGroupAccessData]'},
'machine_configuration': {'key': 'machineConfiguration', 'type': 'WebApiUserLoadTestMachineInput'},
'tenant_id': {'key': 'tenantId', 'type': 'str'}
}

def __init__(self, created_by=None, creation_time=None, group_id=None, group_name=None, machine_access_data=None, machine_configuration=None, tenant_id=None):
super(AgentGroup, self).__init__()
self.created_by = created_by
self.creation_time = creation_time
self.group_id = group_id
self.group_name = group_name
self.machine_access_data = machine_access_data
self.machine_configuration = machine_configuration
self.tenant_id = tenant_id
41 changes: 41 additions & 0 deletions vsts/vsts/cloud_load_test/v4_1/models/agent_group_access_data.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
# Generated file, DO NOT EDIT
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------------------------

from msrest.serialization import Model


class AgentGroupAccessData(Model):
"""AgentGroupAccessData.

:param details:
:type details: str
:param storage_connection_string:
:type storage_connection_string: str
:param storage_end_point:
:type storage_end_point: str
:param storage_name:
:type storage_name: str
:param storage_type:
:type storage_type: str
"""

_attribute_map = {
'details': {'key': 'details', 'type': 'str'},
'storage_connection_string': {'key': 'storageConnectionString', 'type': 'str'},
'storage_end_point': {'key': 'storageEndPoint', 'type': 'str'},
'storage_name': {'key': 'storageName', 'type': 'str'},
'storage_type': {'key': 'storageType', 'type': 'str'}
}

def __init__(self, details=None, storage_connection_string=None, storage_end_point=None, storage_name=None, storage_type=None):
super(AgentGroupAccessData, self).__init__()
self.details = details
self.storage_connection_string = storage_connection_string
self.storage_end_point = storage_end_point
self.storage_name = storage_name
self.storage_type = storage_type
49 changes: 49 additions & 0 deletions vsts/vsts/cloud_load_test/v4_1/models/application.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
# Generated file, DO NOT EDIT
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------------------------

from msrest.serialization import Model


class Application(Model):
"""Application.

:param application_id:
:type application_id: str
:param description:
:type description: str
:param name:
:type name: str
:param path:
:type path: str
:param path_seperator:
:type path_seperator: str
:param type:
:type type: str
:param version:
:type version: str
"""

_attribute_map = {
'application_id': {'key': 'applicationId', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'path': {'key': 'path', 'type': 'str'},
'path_seperator': {'key': 'pathSeperator', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'version': {'key': 'version', 'type': 'str'}
}

def __init__(self, application_id=None, description=None, name=None, path=None, path_seperator=None, type=None, version=None):
super(Application, self).__init__()
self.application_id = application_id
self.description = description
self.name = name
self.path = path
self.path_seperator = path_seperator
self.type = type
self.version = version
45 changes: 45 additions & 0 deletions vsts/vsts/cloud_load_test/v4_1/models/application_counters.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
# Generated file, DO NOT EDIT
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------------------------

from msrest.serialization import Model


class ApplicationCounters(Model):
"""ApplicationCounters.

:param application_id:
:type application_id: str
:param description:
:type description: str
:param id:
:type id: str
:param is_default:
:type is_default: bool
:param name:
:type name: str
:param path:
:type path: str
"""

_attribute_map = {
'application_id': {'key': 'applicationId', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'id': {'key': 'id', 'type': 'str'},
'is_default': {'key': 'isDefault', 'type': 'bool'},
'name': {'key': 'name', 'type': 'str'},
'path': {'key': 'path', 'type': 'str'}
}

def __init__(self, application_id=None, description=None, id=None, is_default=None, name=None, path=None):
super(ApplicationCounters, self).__init__()
self.application_id = application_id
self.description = description
self.id = id
self.is_default = is_default
self.name = name
self.path = path
45 changes: 45 additions & 0 deletions vsts/vsts/cloud_load_test/v4_1/models/application_type.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
# Generated file, DO NOT EDIT
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------------------------

from msrest.serialization import Model


class ApplicationType(Model):
"""ApplicationType.

:param action_uri_link:
:type action_uri_link: str
:param aut_portal_link:
:type aut_portal_link: str
:param is_enabled:
:type is_enabled: bool
:param max_components_allowed_for_collection:
:type max_components_allowed_for_collection: int
:param max_counters_allowed:
:type max_counters_allowed: int
:param type:
:type type: str
"""

_attribute_map = {
'action_uri_link': {'key': 'actionUriLink', 'type': 'str'},
'aut_portal_link': {'key': 'autPortalLink', 'type': 'str'},
'is_enabled': {'key': 'isEnabled', 'type': 'bool'},
'max_components_allowed_for_collection': {'key': 'maxComponentsAllowedForCollection', 'type': 'int'},
'max_counters_allowed': {'key': 'maxCountersAllowed', 'type': 'int'},
'type': {'key': 'type', 'type': 'str'}
}

def __init__(self, action_uri_link=None, aut_portal_link=None, is_enabled=None, max_components_allowed_for_collection=None, max_counters_allowed=None, type=None):
super(ApplicationType, self).__init__()
self.action_uri_link = action_uri_link
self.aut_portal_link = aut_portal_link
self.is_enabled = is_enabled
self.max_components_allowed_for_collection = max_components_allowed_for_collection
self.max_counters_allowed = max_counters_allowed
self.type = type
29 changes: 29 additions & 0 deletions vsts/vsts/cloud_load_test/v4_1/models/browser_mix.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
# Generated file, DO NOT EDIT
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------------------------

from msrest.serialization import Model


class BrowserMix(Model):
"""BrowserMix.

:param browser_name:
:type browser_name: str
:param browser_percentage:
:type browser_percentage: int
"""

_attribute_map = {
'browser_name': {'key': 'browserName', 'type': 'str'},
'browser_percentage': {'key': 'browserPercentage', 'type': 'int'}
}

def __init__(self, browser_name=None, browser_percentage=None):
super(BrowserMix, self).__init__()
self.browser_name = browser_name
self.browser_percentage = browser_percentage
Loading