Skip to content
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
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.1.0"