Skip to content

Commit

Permalink
Generated from c812a4906aa6d74fcc75144fb569dfe1abed6873 (#2001)
Browse files Browse the repository at this point in the history
Add disk details to storage profile

Make possible to provide more detailed information about the storage
devices attached to a given hana instance.
  • Loading branch information
AutorestCI committed Feb 28, 2018
1 parent 0ce9a38 commit fc29c1a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class HanaInstancesOperations(object):
:param client: Client for service requests.
:param config: Configuration of service client.
:param serializer: An object model serializer.
:param deserializer: An objec model deserializer.
:param deserializer: An object model deserializer.
:ivar api_version: Client API version. Constant value: "2017-11-03-preview".
"""

Expand Down Expand Up @@ -59,7 +59,7 @@ def internal_paging(next_link=None, raw=False):

if not next_link:
# Construct URL
url = '/subscriptions/{subscriptionId}/providers/Microsoft.HanaOnAzure/hanaInstances'
url = self.list.metadata['url']
path_format_arguments = {
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
}
Expand Down Expand Up @@ -102,6 +102,7 @@ def internal_paging(next_link=None, raw=False):
return client_raw_response

return deserialized
list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.HanaOnAzure/hanaInstances'}

def list_by_resource_group(
self, resource_group_name, custom_headers=None, raw=False, **operation_config):
Expand Down Expand Up @@ -129,7 +130,7 @@ def internal_paging(next_link=None, raw=False):

if not next_link:
# Construct URL
url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HanaOnAzure/hanaInstances'
url = self.list_by_resource_group.metadata['url']
path_format_arguments = {
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str')
Expand Down Expand Up @@ -173,6 +174,7 @@ def internal_paging(next_link=None, raw=False):
return client_raw_response

return deserialized
list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HanaOnAzure/hanaInstances'}

def get(
self, resource_group_name, hana_instance_name, custom_headers=None, raw=False, **operation_config):
Expand All @@ -197,7 +199,7 @@ def get(
:class:`ErrorResponseException<azure.mgmt.hanaonazure.models.ErrorResponseException>`
"""
# Construct URL
url = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HanaOnAzure/hanaInstances/{hanaInstanceName}'
url = self.get.metadata['url']
path_format_arguments = {
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'),
Expand Down Expand Up @@ -236,3 +238,4 @@ def get(
return client_raw_response

return deserialized
get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HanaOnAzure/hanaInstances/{hanaInstanceName}'}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Operations(object):
:param client: Client for service requests.
:param config: Configuration of service client.
:param serializer: An object model serializer.
:param deserializer: An objec model deserializer.
:param deserializer: An object model deserializer.
:ivar api_version: Client API version. Constant value: "2017-11-03-preview".
"""

Expand Down Expand Up @@ -55,7 +55,7 @@ def internal_paging(next_link=None, raw=False):

if not next_link:
# Construct URL
url = '/providers/Microsoft.HanaOnAzure/operations'
url = self.list.metadata['url']

# Construct parameters
query_parameters = {}
Expand Down Expand Up @@ -94,3 +94,4 @@ def internal_paging(next_link=None, raw=False):
return client_raw_response

return deserialized
list.metadata = {'url': '/providers/Microsoft.HanaOnAzure/operations'}

0 comments on commit fc29c1a

Please sign in to comment.