Skip to content

Commit

Permalink
[AutoPR] hanaonazure/resource-manager (#4256)
Browse files Browse the repository at this point in the history
* Generated from 30e8d50180514cf1f0523ec8e45de60f3cb2481a (#4254)

Add new field 'proximityPlacementGroup' to properties of HanaInstance

* ChangeLog
  • Loading branch information
AutorestCI authored and lmazuel committed Jan 30, 2019
1 parent f96f38e commit 1bdc9be
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
7 changes: 7 additions & 0 deletions azure-mgmt-hanaonazure/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
Release History
===============

0.3.2 (2019-01-29)
++++++++++++++++++

**Features**

- Add proximity_placement_group

0.3.1 (2019-01-24)
++++++++++++++++++

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ class HanaInstance(Resource):
'starting', 'started', 'stopping', 'stopped', 'restarting', 'unknown'
:vartype power_state: str or
~azure.mgmt.hanaonazure.models.HanaInstancePowerStateEnum
:ivar proximity_placement_group: Resource proximity placement group
:vartype proximity_placement_group: str
"""

_validation = {
Expand All @@ -56,6 +58,7 @@ class HanaInstance(Resource):
'tags': {'readonly': True},
'hana_instance_id': {'readonly': True},
'power_state': {'readonly': True},
'proximity_placement_group': {'readonly': True},
}

_attribute_map = {
Expand All @@ -70,6 +73,7 @@ class HanaInstance(Resource):
'network_profile': {'key': 'properties.networkProfile', 'type': 'NetworkProfile'},
'hana_instance_id': {'key': 'properties.hanaInstanceId', 'type': 'str'},
'power_state': {'key': 'properties.powerState', 'type': 'str'},
'proximity_placement_group': {'key': 'properties.proximityPlacementGroup', 'type': 'str'},
}

def __init__(self, **kwargs):
Expand All @@ -80,3 +84,4 @@ def __init__(self, **kwargs):
self.network_profile = kwargs.get('network_profile', None)
self.hana_instance_id = None
self.power_state = None
self.proximity_placement_group = None
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ class HanaInstance(Resource):
'starting', 'started', 'stopping', 'stopped', 'restarting', 'unknown'
:vartype power_state: str or
~azure.mgmt.hanaonazure.models.HanaInstancePowerStateEnum
:ivar proximity_placement_group: Resource proximity placement group
:vartype proximity_placement_group: str
"""

_validation = {
Expand All @@ -56,6 +58,7 @@ class HanaInstance(Resource):
'tags': {'readonly': True},
'hana_instance_id': {'readonly': True},
'power_state': {'readonly': True},
'proximity_placement_group': {'readonly': True},
}

_attribute_map = {
Expand All @@ -70,6 +73,7 @@ class HanaInstance(Resource):
'network_profile': {'key': 'properties.networkProfile', 'type': 'NetworkProfile'},
'hana_instance_id': {'key': 'properties.hanaInstanceId', 'type': 'str'},
'power_state': {'key': 'properties.powerState', 'type': 'str'},
'proximity_placement_group': {'key': 'properties.proximityPlacementGroup', 'type': 'str'},
}

def __init__(self, *, hardware_profile=None, storage_profile=None, os_profile=None, network_profile=None, **kwargs) -> None:
Expand All @@ -80,3 +84,4 @@ def __init__(self, *, hardware_profile=None, storage_profile=None, os_profile=No
self.network_profile = network_profile
self.hana_instance_id = None
self.power_state = None
self.proximity_placement_group = None
2 changes: 1 addition & 1 deletion azure-mgmt-hanaonazure/azure/mgmt/hanaonazure/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
# regenerated.
# --------------------------------------------------------------------------

VERSION = "0.3.1"
VERSION = "0.3.2"

0 comments on commit 1bdc9be

Please sign in to comment.