Skip to content

Commit

Permalink
Update from master
Browse files Browse the repository at this point in the history
  • Loading branch information
SDK Automation committed Apr 27, 2020
1 parent b279394 commit e405a5a
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 27 deletions.
33 changes: 12 additions & 21 deletions sdk/applicationinsights/azure-mgmt-applicationinsights/README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,21 @@
## Microsoft Azure SDK for Python
# Microsoft Azure SDK for Python

This is the Microsoft Azure Application Insights Management Client
Library.
This is the Microsoft Azure Application Insights Management Client Library.
This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.
For a more complete view of Azure libraries, see the [Github repo](https://github.com/Azure/azure-sdk-for-python/)

Azure Resource Manager (ARM) is the next generation of management APIs
that replace the old Azure Service Management (ASM).

This package has been tested with Python 2.7, 3.4, 3.5, 3.6 and 3.7.
# Usage

For the older Azure Service Management (ASM) libraries, see
[azure-servicemanagement-legacy](https://pypi.python.org/pypi/azure-servicemanagement-legacy)
library.
For code examples, see [Application Insights Management](https://docs.microsoft.com/python/api/overview/azure/)
on docs.microsoft.com.

For a more complete set of Azure libraries, see the
[azure](https://pypi.python.org/pypi/azure) bundle package.

## Usage
# Provide Feedback

For code examples, see [Application Insights
Management](https://docs.microsoft.com/python/api/overview/azure/) on
docs.microsoft.com.

## Provide Feedback

If you encounter any bugs or have suggestions, please file an issue in
the [Issues](https://github.com/Azure/azure-sdk-for-python/issues)
If you encounter any bugs or have suggestions, please file an issue in the
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
section of the project.

![image](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-applicationinsights%2FREADME.png)

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-applicationinsights%2FREADME.png)
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,10 @@ def __init__(self, **kwargs):


class ErrorResponse(Model):
"""Describe the format of an Error response.
"""Error response indicates Insights service is not able to process the
incoming request. The reason is provided in the error message.
:param code: Error code
:param code: Error code.
:type code: str
:param message: Error message indicating why the operation failed.
:type message: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,10 @@ def __init__(self, *, linked_storage_account: str=None, **kwargs) -> None:


class ErrorResponse(Model):
"""Describe the format of an Error response.
"""Error response indicates Insights service is not able to process the
incoming request. The reason is provided in the error message.
:param code: Error code
:param code: Error code.
:type code: str
:param message: Error message indicating why the operation failed.
:type message: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@
pass

# Version extraction inspired from 'requests'
with open(os.path.join(package_folder_path, 'version.py'), 'r') as fd:
# Version extraction inspired from 'requests'
with open(os.path.join(package_folder_path, 'version.py')
if os.path.exists(os.path.join(package_folder_path, 'version.py'))
else os.path.join(package_folder_path, '_version.py'), 'r') as fd:
version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)

Expand Down Expand Up @@ -64,10 +67,10 @@
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'License :: OSI Approved :: MIT License',
],
zip_safe=False,
Expand Down

0 comments on commit e405a5a

Please sign in to comment.