Skip to content

Commit

Permalink
Update from release/v3
Browse files Browse the repository at this point in the history
  • Loading branch information
SDK Automation committed Jun 11, 2020
1 parent 08a1499 commit e7f07c6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 38 deletions.
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

0 comments on commit e7f07c6

Please sign in to comment.