azure.mgmt.applicationinsights.v2022_06_15.operations module
- class azure.mgmt.applicationinsights.v2022_06_15.operations.WebTestsOperations(*args, **kwargs)[source]
Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
ApplicationInsightsManagementClient
’sweb_tests
attribute.- create_or_update(resource_group_name: str, web_test_name: str, web_test_definition: WebTest | IO[bytes], **kwargs: Any) WebTest [source]
Creates or updates an Application Insights web test definition.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
web_test_name (str) – The name of the Application Insights WebTest resource. Required.
web_test_definition (WebTest or IO[bytes]) – Properties that need to be specified to create or update an Application Insights web test definition. Is either a WebTest type or a IO[bytes] type. Required.
- Returns:
WebTest or the result of cls(response)
- Return type:
- Raises:
- delete(resource_group_name: str, web_test_name: str, **kwargs: Any) None [source]
Deletes an Application Insights web test.
- Parameters:
- Returns:
None or the result of cls(response)
- Return type:
None
- Raises:
- get(resource_group_name: str, web_test_name: str, **kwargs: Any) WebTest [source]
Get a specific Application Insights web test definition.
- Parameters:
- Returns:
WebTest or the result of cls(response)
- Return type:
- Raises:
- list(**kwargs: Any) Iterable[WebTest] [source]
Get all Application Insights web test definitions for the specified subscription.
- Returns:
An iterator like instance of either WebTest or the result of cls(response)
- Return type:
- Raises:
- list_by_component(component_name: str, resource_group_name: str, **kwargs: Any) Iterable[WebTest] [source]
Get all Application Insights web tests defined for the specified component.
- Parameters:
- Returns:
An iterator like instance of either WebTest or the result of cls(response)
- Return type:
- Raises:
- list_by_resource_group(resource_group_name: str, **kwargs: Any) Iterable[WebTest] [source]
Get all Application Insights web tests defined for the specified resource group.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
- Returns:
An iterator like instance of either WebTest or the result of cls(response)
- Return type:
- Raises:
- update_tags(resource_group_name: str, web_test_name: str, web_test_tags: TagsResource | IO[bytes], **kwargs: Any) WebTest [source]
Updates the tags associated with an Application Insights web test.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
web_test_name (str) – The name of the Application Insights WebTest resource. Required.
web_test_tags (TagsResource or IO[bytes]) – Updated tag information to associate with the web test resource. Is either a TagsResource type or a IO[bytes] type. Required.
- Returns:
WebTest or the result of cls(response)
- Return type:
- Raises:
- models = <module 'azure.mgmt.applicationinsights.v2022_06_15.models' from '/mnt/vss/_work/1/s/sdk/applicationinsights/azure-mgmt-applicationinsights/.tox/sphinx/lib/python3.13/site-packages/azure/mgmt/applicationinsights/v2022_06_15/models/__init__.py'>