diff --git a/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/hana_instance.py b/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/hana_instance.py index e3c5da1865ed..499d92ee41df 100644 --- a/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/hana_instance.py +++ b/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/hana_instance.py @@ -24,8 +24,8 @@ class HanaInstance(Resource): :vartype name: str :ivar type: Resource type :vartype type: str - :ivar location: Resource location - :vartype location: str + :param location: Resource location + :type location: str :ivar tags: Resource tags :vartype tags: dict[str, str] :param hardware_profile: Specifies the hardware settings for the HANA @@ -50,9 +50,9 @@ class HanaInstance(Resource): :vartype proximity_placement_group: str :ivar hw_revision: Hardware revision of a HANA instance :vartype hw_revision: str - :ivar partner_node_id: ARM ID of another HanaInstance that will share a + :param partner_node_id: ARM ID of another HanaInstance that will share a network with this HanaInstance - :vartype partner_node_id: str + :type partner_node_id: str :ivar provisioning_state: State of provisioning of the HanaInstance. Possible values include: 'Accepted', 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating' @@ -64,13 +64,11 @@ class HanaInstance(Resource): 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, - 'location': {'readonly': True}, 'tags': {'readonly': True}, 'hana_instance_id': {'readonly': True}, 'power_state': {'readonly': True}, 'proximity_placement_group': {'readonly': True}, 'hw_revision': {'readonly': True}, - 'partner_node_id': {'readonly': True}, 'provisioning_state': {'readonly': True}, } @@ -102,5 +100,5 @@ def __init__(self, **kwargs): self.power_state = None self.proximity_placement_group = None self.hw_revision = None - self.partner_node_id = None + self.partner_node_id = kwargs.get('partner_node_id', None) self.provisioning_state = None diff --git a/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/hana_instance_py3.py b/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/hana_instance_py3.py index 9b83736a677e..6241551241f4 100644 --- a/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/hana_instance_py3.py +++ b/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/hana_instance_py3.py @@ -24,8 +24,8 @@ class HanaInstance(Resource): :vartype name: str :ivar type: Resource type :vartype type: str - :ivar location: Resource location - :vartype location: str + :param location: Resource location + :type location: str :ivar tags: Resource tags :vartype tags: dict[str, str] :param hardware_profile: Specifies the hardware settings for the HANA @@ -50,9 +50,9 @@ class HanaInstance(Resource): :vartype proximity_placement_group: str :ivar hw_revision: Hardware revision of a HANA instance :vartype hw_revision: str - :ivar partner_node_id: ARM ID of another HanaInstance that will share a + :param partner_node_id: ARM ID of another HanaInstance that will share a network with this HanaInstance - :vartype partner_node_id: str + :type partner_node_id: str :ivar provisioning_state: State of provisioning of the HanaInstance. Possible values include: 'Accepted', 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating' @@ -64,13 +64,11 @@ class HanaInstance(Resource): 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, - 'location': {'readonly': True}, 'tags': {'readonly': True}, 'hana_instance_id': {'readonly': True}, 'power_state': {'readonly': True}, 'proximity_placement_group': {'readonly': True}, 'hw_revision': {'readonly': True}, - 'partner_node_id': {'readonly': True}, 'provisioning_state': {'readonly': True}, } @@ -92,8 +90,8 @@ class HanaInstance(Resource): 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } - def __init__(self, *, hardware_profile=None, storage_profile=None, os_profile=None, network_profile=None, **kwargs) -> None: - super(HanaInstance, self).__init__(**kwargs) + def __init__(self, *, location: str=None, hardware_profile=None, storage_profile=None, os_profile=None, network_profile=None, partner_node_id: str=None, **kwargs) -> None: + super(HanaInstance, self).__init__(location=location, **kwargs) self.hardware_profile = hardware_profile self.storage_profile = storage_profile self.os_profile = os_profile @@ -102,5 +100,5 @@ def __init__(self, *, hardware_profile=None, storage_profile=None, os_profile=No self.power_state = None self.proximity_placement_group = None self.hw_revision = None - self.partner_node_id = None + self.partner_node_id = partner_node_id self.provisioning_state = None diff --git a/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/ip_address.py b/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/ip_address.py index 03abffe7f88e..1ec48ebbd78d 100644 --- a/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/ip_address.py +++ b/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/ip_address.py @@ -15,21 +15,14 @@ class IpAddress(Model): """Specifies the IP address of the network interface. - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar ip_address: Specifies the IP address of the network interface. - :vartype ip_address: str + :param ip_address: Specifies the IP address of the network interface. + :type ip_address: str """ - _validation = { - 'ip_address': {'readonly': True}, - } - _attribute_map = { 'ip_address': {'key': 'ipAddress', 'type': 'str'}, } def __init__(self, **kwargs): super(IpAddress, self).__init__(**kwargs) - self.ip_address = None + self.ip_address = kwargs.get('ip_address', None) diff --git a/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/ip_address_py3.py b/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/ip_address_py3.py index 31087cd52407..ab18580deda9 100644 --- a/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/ip_address_py3.py +++ b/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/ip_address_py3.py @@ -15,21 +15,14 @@ class IpAddress(Model): """Specifies the IP address of the network interface. - Variables are only populated by the server, and will be ignored when - sending a request. - - :ivar ip_address: Specifies the IP address of the network interface. - :vartype ip_address: str + :param ip_address: Specifies the IP address of the network interface. + :type ip_address: str """ - _validation = { - 'ip_address': {'readonly': True}, - } - _attribute_map = { 'ip_address': {'key': 'ipAddress', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: + def __init__(self, *, ip_address: str=None, **kwargs) -> None: super(IpAddress, self).__init__(**kwargs) - self.ip_address = None + self.ip_address = ip_address diff --git a/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/os_profile.py b/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/os_profile.py index 6eb7cbb133cb..1b92b1c9bda5 100644 --- a/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/os_profile.py +++ b/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/os_profile.py @@ -18,22 +18,20 @@ class OSProfile(Model): Variables are only populated by the server, and will be ignored when sending a request. - :ivar computer_name: Specifies the host OS name of the HANA instance. - :vartype computer_name: str + :param computer_name: Specifies the host OS name of the HANA instance. + :type computer_name: str :ivar os_type: This property allows you to specify the type of the OS. :vartype os_type: str :ivar version: Specifies version of operating system. :vartype version: str - :ivar ssh_public_key: Specifies the SSH public key used to access the + :param ssh_public_key: Specifies the SSH public key used to access the operating system. - :vartype ssh_public_key: str + :type ssh_public_key: str """ _validation = { - 'computer_name': {'readonly': True}, 'os_type': {'readonly': True}, 'version': {'readonly': True}, - 'ssh_public_key': {'readonly': True}, } _attribute_map = { @@ -45,7 +43,7 @@ class OSProfile(Model): def __init__(self, **kwargs): super(OSProfile, self).__init__(**kwargs) - self.computer_name = None + self.computer_name = kwargs.get('computer_name', None) self.os_type = None self.version = None - self.ssh_public_key = None + self.ssh_public_key = kwargs.get('ssh_public_key', None) diff --git a/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/os_profile_py3.py b/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/os_profile_py3.py index 2da441229ff7..7fbee6edb690 100644 --- a/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/os_profile_py3.py +++ b/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/os_profile_py3.py @@ -18,22 +18,20 @@ class OSProfile(Model): Variables are only populated by the server, and will be ignored when sending a request. - :ivar computer_name: Specifies the host OS name of the HANA instance. - :vartype computer_name: str + :param computer_name: Specifies the host OS name of the HANA instance. + :type computer_name: str :ivar os_type: This property allows you to specify the type of the OS. :vartype os_type: str :ivar version: Specifies version of operating system. :vartype version: str - :ivar ssh_public_key: Specifies the SSH public key used to access the + :param ssh_public_key: Specifies the SSH public key used to access the operating system. - :vartype ssh_public_key: str + :type ssh_public_key: str """ _validation = { - 'computer_name': {'readonly': True}, 'os_type': {'readonly': True}, 'version': {'readonly': True}, - 'ssh_public_key': {'readonly': True}, } _attribute_map = { @@ -43,9 +41,9 @@ class OSProfile(Model): 'ssh_public_key': {'key': 'sshPublicKey', 'type': 'str'}, } - def __init__(self, **kwargs) -> None: + def __init__(self, *, computer_name: str=None, ssh_public_key: str=None, **kwargs) -> None: super(OSProfile, self).__init__(**kwargs) - self.computer_name = None + self.computer_name = computer_name self.os_type = None self.version = None - self.ssh_public_key = None + self.ssh_public_key = ssh_public_key diff --git a/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/resource.py b/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/resource.py index 99b32af0d9fe..6b44bb4441c0 100644 --- a/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/resource.py +++ b/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/resource.py @@ -24,8 +24,8 @@ class Resource(Model): :vartype name: str :ivar type: Resource type :vartype type: str - :ivar location: Resource location - :vartype location: str + :param location: Resource location + :type location: str :ivar tags: Resource tags :vartype tags: dict[str, str] """ @@ -34,7 +34,6 @@ class Resource(Model): 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, - 'location': {'readonly': True}, 'tags': {'readonly': True}, } @@ -51,5 +50,5 @@ def __init__(self, **kwargs): self.id = None self.name = None self.type = None - self.location = None + self.location = kwargs.get('location', None) self.tags = None diff --git a/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/resource_py3.py b/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/resource_py3.py index 0696665423e1..2360d140daae 100644 --- a/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/resource_py3.py +++ b/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/models/resource_py3.py @@ -24,8 +24,8 @@ class Resource(Model): :vartype name: str :ivar type: Resource type :vartype type: str - :ivar location: Resource location - :vartype location: str + :param location: Resource location + :type location: str :ivar tags: Resource tags :vartype tags: dict[str, str] """ @@ -34,7 +34,6 @@ class Resource(Model): 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, - 'location': {'readonly': True}, 'tags': {'readonly': True}, } @@ -46,10 +45,10 @@ class Resource(Model): 'tags': {'key': 'tags', 'type': '{str}'}, } - def __init__(self, **kwargs) -> None: + def __init__(self, *, location: str=None, **kwargs) -> None: super(Resource, self).__init__(**kwargs) self.id = None self.name = None self.type = None - self.location = None + self.location = location self.tags = None diff --git a/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/version.py b/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/version.py index 981739e4ff95..5a7feab42d26 100644 --- a/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/version.py +++ b/sdk/hanaonazure/azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "0.7.0" +VERSION = "0.6.0"