Skip to content
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

release-for-mgmt-loganalytics #10990

Merged
merged 2 commits into from
Apr 22, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions sdk/loganalytics/azure-mgmt-loganalytics/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release History

## 0.5.0 (2020-04-22)

**Breaking changes**

- Change the Client Name back from LogAnalyticsManagementClient

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be "back to"?
maybe "Reverted client name back to LogAnalyticsManagementClient as previous change was not intentional"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed


## 0.4.0 (2020-04-20)

**Features**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
# regenerated.
# --------------------------------------------------------------------------

from ._configuration import OperationalInsightsManagementClientConfiguration
from ._operational_insights_management_client import OperationalInsightsManagementClient
__all__ = ['OperationalInsightsManagementClient', 'OperationalInsightsManagementClientConfiguration']
from ._configuration import LogAnalyticsManagementClientConfiguration
from ._log_analytics_management_client import LogAnalyticsManagementClient
__all__ = ['LogAnalyticsManagementClient', 'LogAnalyticsManagementClientConfiguration']

from .version import VERSION

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
from .version import VERSION


class OperationalInsightsManagementClientConfiguration(AzureConfiguration):
"""Configuration for OperationalInsightsManagementClient
class LogAnalyticsManagementClientConfiguration(AzureConfiguration):
"""Configuration for LogAnalyticsManagementClient
Note that all parameters used to create this instance are saved as instance
attributes.

Expand All @@ -36,7 +36,7 @@ def __init__(
if not base_url:
base_url = 'https://management.azure.com'

super(OperationalInsightsManagementClientConfiguration, self).__init__(base_url)
super(LogAnalyticsManagementClientConfiguration, self).__init__(base_url)

# Starting Autorest.Python 4.0.64, make connection pool activated by default
self.keep_alive = True
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from msrest.service_client import SDKClient
from msrest import Serializer, Deserializer

from ._configuration import OperationalInsightsManagementClientConfiguration
from ._configuration import LogAnalyticsManagementClientConfiguration
from .operations import DataExportsOperations
from .operations import DataSourcesOperations
from .operations import IntelligencePacksOperations
Expand All @@ -33,11 +33,11 @@
from . import models


class OperationalInsightsManagementClient(SDKClient):
"""Operational Insights Client
class LogAnalyticsManagementClient(SDKClient):
"""The Log Analytics Client.

:ivar config: Configuration for client.
:vartype config: OperationalInsightsManagementClientConfiguration
:vartype config: LogAnalyticsManagementClientConfiguration

:ivar data_exports: DataExports operations
:vartype data_exports: azure.mgmt.loganalytics.operations.DataExportsOperations
Expand Down Expand Up @@ -85,8 +85,8 @@ class OperationalInsightsManagementClient(SDKClient):
def __init__(
self, credentials, subscription_id, base_url=None):

self.config = OperationalInsightsManagementClientConfiguration(credentials, subscription_id, base_url)
super(OperationalInsightsManagementClient, self).__init__(self.config.credentials, self.config)
self.config = LogAnalyticsManagementClientConfiguration(credentials, subscription_id, base_url)
super(LogAnalyticsManagementClient, self).__init__(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self.api_version = '2020-03-01-preview'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
from ._paged_models import StorageInsightPaged
from ._paged_models import UsageMetricPaged
from ._paged_models import WorkspacePaged
from ._operational_insights_management_client_enums import (
from ._log_analytics_management_client_enums import (
Type,
DataSourceKind,
LinkedServiceEntityStatus,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
# regenerated.
# --------------------------------------------------------------------------

VERSION = "0.4.0"
VERSION = "0.5.0"