Skip to content

Commit

Permalink
release mgmt loganalytics 0.4.0 (Azure#10923)
Browse files Browse the repository at this point in the history
* release mgmt loganalytics 0.4.0

* Packaging update of azure-mgmt-loganalytics

Co-authored-by: Azure SDK Bot <aspysdk2@microsoft.com>
  • Loading branch information
qiaozha and AutorestCI authored Apr 20, 2020
1 parent fedffe0 commit e0c2d6c
Show file tree
Hide file tree
Showing 25 changed files with 2,303 additions and 563 deletions.
27 changes: 27 additions & 0 deletions sdk/loganalytics/azure-mgmt-loganalytics/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# Release History

## 0.4.0 (2020-04-20)

**Features**

- Model LinkedService has a new parameter provisioning_state
- Added operation WorkspacesOperations.available_service_tiers
- Added operation group ManagementGroupsOperations
- Added operation group GatewaysOperations
- Added operation group OperationStatusesOperations
- Added operation group SchemaOperations
- Added operation group WorkspacePurgeOperations
- Added operation group UsagesOperations
- Added operation group SharedKeysOperations
- Added operation group StorageInsightConfigsOperations
- Added operation group IntelligencePacksOperations

**Breaking changes**

- Removed operation WorkspacesOperations.list_usages
- Removed operation WorkspacesOperations.get_shared_keys
- Removed operation WorkspacesOperations.disable_intelligence_pack
- Removed operation WorkspacesOperations.list_intelligence_packs
- Removed operation WorkspacesOperations.list_management_groups
- Removed operation WorkspacesOperations.enable_intelligence_pack
- Removed operation group StorageInsightsOperations
- Removed operation group OperationalInsightsManagementClientOperationsMixin

## 0.3.0 (2020-04-08)

**Features**
Expand Down
4 changes: 4 additions & 0 deletions sdk/loganalytics/azure-mgmt-loganalytics/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
recursive-include tests *.py *.yaml
include *.md
include azure/__init__.py
include azure/mgmt/__init__.py

48 changes: 11 additions & 37 deletions sdk/loganalytics/azure-mgmt-loganalytics/README.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,21 @@
## Microsoft Azure SDK for Python
# Microsoft Azure SDK for Python

This is the Microsoft Azure Log Analytics 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 [Log Analytics 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.

## Compatibility
# Provide Feedback

**IMPORTANT**: If you have an earlier version of the azure package
(version < 1.0), you should uninstall it before installing this
package.

You can check the version using pip:

``` shell
pip freeze
```

If you see azure==0.11.0 (or any version below 1.0), uninstall it first:

``` shell
pip uninstall azure
```

## Usage

For code examples, see [Log Analytics
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-loganalytics%2FREADME.png)

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-loganalytics%2FREADME.png)
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,27 @@
from msrest import Serializer, Deserializer

from ._configuration import OperationalInsightsManagementClientConfiguration
from .operations import OperationalInsightsManagementClientOperationsMixin
from .operations import DataExportsOperations
from .operations import DataSourcesOperations
from .operations import WorkspacesOperations
from .operations import IntelligencePacksOperations
from .operations import LinkedServicesOperations
from .operations import LinkedStorageAccountsOperations
from .operations import ManagementGroupsOperations
from .operations import Operations
from .operations import OperationStatusesOperations
from .operations import SharedKeysOperations
from .operations import UsagesOperations
from .operations import WorkspacesOperations
from .operations import ClustersOperations
from .operations import StorageInsightsOperations
from .operations import StorageInsightConfigsOperations
from .operations import SavedSearchesOperations
from .operations import GatewaysOperations
from .operations import SchemaOperations
from .operations import WorkspacePurgeOperations
from . import models


class OperationalInsightsManagementClient(OperationalInsightsManagementClientOperationsMixin, SDKClient):
class OperationalInsightsManagementClient(SDKClient):
"""Operational Insights Client
:ivar config: Configuration for client.
Expand All @@ -36,20 +43,36 @@ class OperationalInsightsManagementClient(OperationalInsightsManagementClientOpe
:vartype data_exports: azure.mgmt.loganalytics.operations.DataExportsOperations
:ivar data_sources: DataSources operations
:vartype data_sources: azure.mgmt.loganalytics.operations.DataSourcesOperations
:ivar workspaces: Workspaces operations
:vartype workspaces: azure.mgmt.loganalytics.operations.WorkspacesOperations
:ivar intelligence_packs: IntelligencePacks operations
:vartype intelligence_packs: azure.mgmt.loganalytics.operations.IntelligencePacksOperations
:ivar linked_services: LinkedServices operations
:vartype linked_services: azure.mgmt.loganalytics.operations.LinkedServicesOperations
:ivar linked_storage_accounts: LinkedStorageAccounts operations
:vartype linked_storage_accounts: azure.mgmt.loganalytics.operations.LinkedStorageAccountsOperations
:ivar management_groups: ManagementGroups operations
:vartype management_groups: azure.mgmt.loganalytics.operations.ManagementGroupsOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.loganalytics.operations.Operations
:ivar operation_statuses: OperationStatuses operations
:vartype operation_statuses: azure.mgmt.loganalytics.operations.OperationStatusesOperations
:ivar shared_keys: SharedKeys operations
:vartype shared_keys: azure.mgmt.loganalytics.operations.SharedKeysOperations
:ivar usages: Usages operations
:vartype usages: azure.mgmt.loganalytics.operations.UsagesOperations
:ivar workspaces: Workspaces operations
:vartype workspaces: azure.mgmt.loganalytics.operations.WorkspacesOperations
:ivar clusters: Clusters operations
:vartype clusters: azure.mgmt.loganalytics.operations.ClustersOperations
:ivar storage_insights: StorageInsights operations
:vartype storage_insights: azure.mgmt.loganalytics.operations.StorageInsightsOperations
:ivar storage_insight_configs: StorageInsightConfigs operations
:vartype storage_insight_configs: azure.mgmt.loganalytics.operations.StorageInsightConfigsOperations
:ivar saved_searches: SavedSearches operations
:vartype saved_searches: azure.mgmt.loganalytics.operations.SavedSearchesOperations
:ivar gateways: Gateways operations
:vartype gateways: azure.mgmt.loganalytics.operations.GatewaysOperations
:ivar schema: Schema operations
:vartype schema: azure.mgmt.loganalytics.operations.SchemaOperations
:ivar workspace_purge: WorkspacePurge operations
:vartype workspace_purge: azure.mgmt.loganalytics.operations.WorkspacePurgeOperations
:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
Expand All @@ -74,17 +97,33 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.data_sources = DataSourcesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.workspaces = WorkspacesOperations(
self.intelligence_packs = IntelligencePacksOperations(
self._client, self.config, self._serialize, self._deserialize)
self.linked_services = LinkedServicesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.linked_storage_accounts = LinkedStorageAccountsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.management_groups = ManagementGroupsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.operations = Operations(
self._client, self.config, self._serialize, self._deserialize)
self.operation_statuses = OperationStatusesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.shared_keys = SharedKeysOperations(
self._client, self.config, self._serialize, self._deserialize)
self.usages = UsagesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.workspaces = WorkspacesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.clusters = ClustersOperations(
self._client, self.config, self._serialize, self._deserialize)
self.storage_insights = StorageInsightsOperations(
self.storage_insight_configs = StorageInsightConfigsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.saved_searches = SavedSearchesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.gateways = GatewaysOperations(
self._client, self.config, self._serialize, self._deserialize)
self.schema = SchemaOperations(
self._client, self.config, self._serialize, self._deserialize)
self.workspace_purge = WorkspacePurgeOperations(
self._client, self.config, self._serialize, self._deserialize)
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@
# --------------------------------------------------------------------------

try:
from ._models_py3 import AvailableServiceTier
from ._models_py3 import AzureEntityResource
from ._models_py3 import Cluster
from ._models_py3 import ClusterErrorResponse, ClusterErrorResponseException
from ._models_py3 import ClusterPatch
from ._models_py3 import ClusterSku
from ._models_py3 import CoreSummary
from ._models_py3 import DataExport
from ._models_py3 import DataExportErrorResponse, DataExportErrorResponseException
from ._models_py3 import DataSource
Expand All @@ -36,6 +38,11 @@
from ._models_py3 import Resource
from ._models_py3 import SavedSearch
from ._models_py3 import SavedSearchesListResult
from ._models_py3 import SearchGetSchemaResponse
from ._models_py3 import SearchMetadata
from ._models_py3 import SearchMetadataSchema
from ._models_py3 import SearchSchemaValue
from ._models_py3 import SearchSort
from ._models_py3 import SharedKeys
from ._models_py3 import StorageAccount
from ._models_py3 import StorageInsight
Expand All @@ -45,13 +52,19 @@
from ._models_py3 import UsageMetric
from ._models_py3 import Workspace
from ._models_py3 import WorkspacePatch
from ._models_py3 import WorkspacePurgeBody
from ._models_py3 import WorkspacePurgeBodyFilters
from ._models_py3 import WorkspacePurgeResponse
from ._models_py3 import WorkspacePurgeStatusResponse
from ._models_py3 import WorkspaceSku
except (SyntaxError, ImportError):
from ._models import AvailableServiceTier
from ._models import AzureEntityResource
from ._models import Cluster
from ._models import ClusterErrorResponse, ClusterErrorResponseException
from ._models import ClusterPatch
from ._models import ClusterSku
from ._models import CoreSummary
from ._models import DataExport
from ._models import DataExportErrorResponse, DataExportErrorResponseException
from ._models import DataSource
Expand All @@ -73,6 +86,11 @@
from ._models import Resource
from ._models import SavedSearch
from ._models import SavedSearchesListResult
from ._models import SearchGetSchemaResponse
from ._models import SearchMetadata
from ._models import SearchMetadataSchema
from ._models import SearchSchemaValue
from ._models import SearchSort
from ._models import SharedKeys
from ._models import StorageAccount
from ._models import StorageInsight
Expand All @@ -82,6 +100,10 @@
from ._models import UsageMetric
from ._models import Workspace
from ._models import WorkspacePatch
from ._models import WorkspacePurgeBody
from ._models import WorkspacePurgeBodyFilters
from ._models import WorkspacePurgeResponse
from ._models import WorkspacePurgeStatusResponse
from ._models import WorkspaceSku
from ._paged_models import ClusterPaged
from ._paged_models import DataExportPaged
Expand All @@ -96,21 +118,28 @@
from ._operational_insights_management_client_enums import (
Type,
DataSourceKind,
LinkedServiceEntityStatus,
DataSourceType,
WorkspaceSkuNameEnum,
EntityStatus,
WorkspaceEntityStatus,
PublicNetworkAccessType,
ClusterEntityStatus,
ClusterSkuNameEnum,
IdentityType,
StorageInsightState,
SkuNameEnum,
SearchSortEnum,
PurgeState,
)

__all__ = [
'AvailableServiceTier',
'AzureEntityResource',
'Cluster',
'ClusterErrorResponse', 'ClusterErrorResponseException',
'ClusterPatch',
'ClusterSku',
'CoreSummary',
'DataExport',
'DataExportErrorResponse', 'DataExportErrorResponseException',
'DataSource',
Expand All @@ -132,6 +161,11 @@
'Resource',
'SavedSearch',
'SavedSearchesListResult',
'SearchGetSchemaResponse',
'SearchMetadata',
'SearchMetadataSchema',
'SearchSchemaValue',
'SearchSort',
'SharedKeys',
'StorageAccount',
'StorageInsight',
Expand All @@ -141,24 +175,33 @@
'UsageMetric',
'Workspace',
'WorkspacePatch',
'WorkspacePurgeBody',
'WorkspacePurgeBodyFilters',
'WorkspacePurgeResponse',
'WorkspacePurgeStatusResponse',
'WorkspaceSku',
'DataExportPaged',
'DataSourcePaged',
'ManagementGroupPaged',
'UsageMetricPaged',
'WorkspacePaged',
'LinkedServicePaged',
'LinkedStorageAccountsResourcePaged',
'ManagementGroupPaged',
'OperationPaged',
'UsageMetricPaged',
'WorkspacePaged',
'ClusterPaged',
'StorageInsightPaged',
'Type',
'DataSourceKind',
'LinkedServiceEntityStatus',
'DataSourceType',
'WorkspaceSkuNameEnum',
'EntityStatus',
'WorkspaceEntityStatus',
'PublicNetworkAccessType',
'ClusterEntityStatus',
'ClusterSkuNameEnum',
'IdentityType',
'StorageInsightState',
'SkuNameEnum',
'SearchSortEnum',
'PurgeState',
]
Loading

0 comments on commit e0c2d6c

Please sign in to comment.