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-hdinsight #11979

Merged
merged 2 commits into from
Jun 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion eng/pipelines/templates/jobs/update_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ steps:
- script: python3 -m packaging_tools.update_pr -v --pr-number $(System.PullRequest.PullRequestNumber) --repo $(Build.Repository.Name)
displayName: 'Update packaging of PR'
env:
GH_TOKEN: $(python-mgmt-update-pr-token)
GH_TOKEN: $(azuresdk-github-pat)
6 changes: 6 additions & 0 deletions sdk/hdinsight/azure-mgmt-hdinsight/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release History

## 1.5.1 (2020-06-11)

**Bugfixes**
- Fix the List Response


## 1.5.0 (2020-05-29)

**Features**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
from ._models_py3 import GatewaySettings
from ._models_py3 import HardwareProfile
from ._models_py3 import HostInfo
from ._models_py3 import HostInfoListResult
from ._models_py3 import KafkaRestProperties
from ._models_py3 import LinuxOperatingSystemProfile
from ._models_py3 import LocalizedName
Expand Down Expand Up @@ -128,7 +127,6 @@
from ._models import GatewaySettings
from ._models import HardwareProfile
from ._models import HostInfo
from ._models import HostInfoListResult
from ._models import KafkaRestProperties
from ._models import LinuxOperatingSystemProfile
from ._models import LocalizedName
Expand Down Expand Up @@ -221,7 +219,6 @@
'GatewaySettings',
'HardwareProfile',
'HostInfo',
'HostInfoListResult',
'KafkaRestProperties',
'LinuxOperatingSystemProfile',
'LocalizedName',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1338,22 +1338,6 @@ def __init__(self, **kwargs):
self.name = kwargs.get('name', None)


class HostInfoListResult(Model):
"""Result of the request to list cluster hosts.

:param value: The list of cluster hosts.
:type value: list[~azure.mgmt.hdinsight.models.HostInfo]
"""

_attribute_map = {
'value': {'key': 'value', 'type': '[HostInfo]'},
}

def __init__(self, **kwargs):
super(HostInfoListResult, self).__init__(**kwargs)
self.value = kwargs.get('value', None)


class KafkaRestProperties(Model):
"""The kafka rest proxy configuration which contains AAD security group
information.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1338,22 +1338,6 @@ def __init__(self, *, name: str=None, **kwargs) -> None:
self.name = name


class HostInfoListResult(Model):
"""Result of the request to list cluster hosts.

:param value: The list of cluster hosts.
:type value: list[~azure.mgmt.hdinsight.models.HostInfo]
"""

_attribute_map = {
'value': {'key': 'value', 'type': '[HostInfo]'},
}

def __init__(self, *, value=None, **kwargs) -> None:
super(HostInfoListResult, self).__init__(**kwargs)
self.value = value


class KafkaRestProperties(Model):
"""The kafka rest proxy configuration which contains AAD security group
information.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ def list_hosts(
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: HostInfoListResult or ClientRawResponse if raw=true
:rtype: ~azure.mgmt.hdinsight.models.HostInfoListResult or
:return: list or ClientRawResponse if raw=true
:rtype: list[~azure.mgmt.hdinsight.models.HostInfo] or
~msrest.pipeline.ClientRawResponse
:raises:
:class:`ErrorResponseException<azure.mgmt.hdinsight.models.ErrorResponseException>`
Expand Down Expand Up @@ -91,7 +91,7 @@ def list_hosts(

deserialized = None
if response.status_code == 200:
deserialized = self._deserialize('HostInfoListResult', response)
deserialized = self._deserialize('[HostInfo]', response)

if raw:
client_raw_response = ClientRawResponse(deserialized, response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
# regenerated.
# --------------------------------------------------------------------------

VERSION = "1.5.0"
VERSION = "1.5.1"