Skip to content

Commit 8df251d

Browse files
authored
release-for-mgmt-hdinsight (Azure#11979)
1 parent 08a1499 commit 8df251d

File tree

7 files changed

+11
-40
lines changed

7 files changed

+11
-40
lines changed

eng/pipelines/templates/jobs/update_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ steps:
2626
- script: python3 -m packaging_tools.update_pr -v --pr-number $(System.PullRequest.PullRequestNumber) --repo $(Build.Repository.Name)
2727
displayName: 'Update packaging of PR'
2828
env:
29-
GH_TOKEN: $(python-mgmt-update-pr-token)
29+
GH_TOKEN: $(azuresdk-github-pat)

sdk/hdinsight/azure-mgmt-hdinsight/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Release History
22

3+
## 1.5.1 (2020-06-11)
4+
5+
**Bugfixes**
6+
- Fix the List Response
7+
8+
39
## 1.5.0 (2020-05-29)
410

511
**Features**

sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
from ._models_py3 import GatewaySettings
5252
from ._models_py3 import HardwareProfile
5353
from ._models_py3 import HostInfo
54-
from ._models_py3 import HostInfoListResult
5554
from ._models_py3 import KafkaRestProperties
5655
from ._models_py3 import LinuxOperatingSystemProfile
5756
from ._models_py3 import LocalizedName
@@ -128,7 +127,6 @@
128127
from ._models import GatewaySettings
129128
from ._models import HardwareProfile
130129
from ._models import HostInfo
131-
from ._models import HostInfoListResult
132130
from ._models import KafkaRestProperties
133131
from ._models import LinuxOperatingSystemProfile
134132
from ._models import LocalizedName
@@ -221,7 +219,6 @@
221219
'GatewaySettings',
222220
'HardwareProfile',
223221
'HostInfo',
224-
'HostInfoListResult',
225222
'KafkaRestProperties',
226223
'LinuxOperatingSystemProfile',
227224
'LocalizedName',

sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/_models.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1338,22 +1338,6 @@ def __init__(self, **kwargs):
13381338
self.name = kwargs.get('name', None)
13391339

13401340

1341-
class HostInfoListResult(Model):
1342-
"""Result of the request to list cluster hosts.
1343-
1344-
:param value: The list of cluster hosts.
1345-
:type value: list[~azure.mgmt.hdinsight.models.HostInfo]
1346-
"""
1347-
1348-
_attribute_map = {
1349-
'value': {'key': 'value', 'type': '[HostInfo]'},
1350-
}
1351-
1352-
def __init__(self, **kwargs):
1353-
super(HostInfoListResult, self).__init__(**kwargs)
1354-
self.value = kwargs.get('value', None)
1355-
1356-
13571341
class KafkaRestProperties(Model):
13581342
"""The kafka rest proxy configuration which contains AAD security group
13591343
information.

sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/_models_py3.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1338,22 +1338,6 @@ def __init__(self, *, name: str=None, **kwargs) -> None:
13381338
self.name = name
13391339

13401340

1341-
class HostInfoListResult(Model):
1342-
"""Result of the request to list cluster hosts.
1343-
1344-
:param value: The list of cluster hosts.
1345-
:type value: list[~azure.mgmt.hdinsight.models.HostInfo]
1346-
"""
1347-
1348-
_attribute_map = {
1349-
'value': {'key': 'value', 'type': '[HostInfo]'},
1350-
}
1351-
1352-
def __init__(self, *, value=None, **kwargs) -> None:
1353-
super(HostInfoListResult, self).__init__(**kwargs)
1354-
self.value = value
1355-
1356-
13571341
class KafkaRestProperties(Model):
13581342
"""The kafka rest proxy configuration which contains AAD security group
13591343
information.

sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/operations/_virtual_machines_operations.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ def list_hosts(
5353
deserialized response
5454
:param operation_config: :ref:`Operation configuration
5555
overrides<msrest:optionsforoperations>`.
56-
:return: HostInfoListResult or ClientRawResponse if raw=true
57-
:rtype: ~azure.mgmt.hdinsight.models.HostInfoListResult or
56+
:return: list or ClientRawResponse if raw=true
57+
:rtype: list[~azure.mgmt.hdinsight.models.HostInfo] or
5858
~msrest.pipeline.ClientRawResponse
5959
:raises:
6060
:class:`ErrorResponseException<azure.mgmt.hdinsight.models.ErrorResponseException>`
@@ -91,7 +91,7 @@ def list_hosts(
9191

9292
deserialized = None
9393
if response.status_code == 200:
94-
deserialized = self._deserialize('HostInfoListResult', response)
94+
deserialized = self._deserialize('[HostInfo]', response)
9595

9696
if raw:
9797
client_raw_response = ClientRawResponse(deserialized, response)

sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
VERSION = "1.5.0"
12+
VERSION = "1.5.1"
1313

0 commit comments

Comments
 (0)