AnalysisResultsOperations Class

AnalysisResultsOperations operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Inheritance
builtins.object
AnalysisResultsOperations

Constructor

AnalysisResultsOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

Methods

get

Gets an Analysis Result of a Test Result by name.

list

Lists the Analysis Results of a Test Result. The result collection will only contain one element as all the data will be nested in a singleton object.

get

Gets an Analysis Result of a Test Result by name.

get(resource_group_name: str, test_base_account_name: str, package_name: str, test_result_name: str, analysis_result_name: Union[str, _models.AnalysisResultName], **kwargs: Any) -> _models.AnalysisResultSingletonResource

Parameters

resource_group_name
str
Required

The name of the resource group that contains the resource.

test_base_account_name
str
Required

The resource name of the Test Base Account.

package_name
str
Required

The resource name of the Test Base Package.

test_result_name
str
Required

The Test Result Name. It equals to {osName}-{TestResultId} string.

analysis_result_name
str or <xref:test_base.models.AnalysisResultName>
Required

The name of the Analysis Result of a Test Result.

cls
callable

A custom type or function that will be passed the direct response

Returns

AnalysisResultSingletonResource, or the result of cls(response)

Return type

<xref:test_base.models.AnalysisResultSingletonResource>

Exceptions

list

Lists the Analysis Results of a Test Result. The result collection will only contain one element as all the data will be nested in a singleton object.

list(resource_group_name: str, test_base_account_name: str, package_name: str, test_result_name: str, analysis_result_type: Union[str, _models.AnalysisResultType], **kwargs: Any) -> Iterable[_models.AnalysisResultListResult]

Parameters

resource_group_name
str
Required

The name of the resource group that contains the resource.

test_base_account_name
str
Required

The resource name of the Test Base Account.

package_name
str
Required

The resource name of the Test Base Package.

test_result_name
str
Required

The Test Result Name. It equals to {osName}-{TestResultId} string.

analysis_result_type
str or <xref:test_base.models.AnalysisResultType>
Required

The type of the Analysis Result of a Test Result.

cls
callable

A custom type or function that will be passed the direct response

Returns

An iterator like instance of either AnalysisResultListResult or the result of cls(response)

Return type

ItemPaged[<xref:test_base.models.AnalysisResultListResult>]

Exceptions

Attributes

models

models = <module 'azure.mgmt.testbase.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\testbase\\models\\__init__.py'>