Skip to content
Merged
Prev Previous commit
Next Next commit
Generated from b74f3ee0fdca928bf92a7fdd2bcd17994deadca9
Changed the operationId to conform to naming convention.
  • Loading branch information
AutorestCI committed May 16, 2018
commit 74f631ff9596a8be2be59777d21a161c92d2a3b3
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def get_long_running_output(response):
return LROPoller(self._client, raw_result, get_long_running_output, polling_method)
delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}'}

def list_galleries_in_resource_group(
def list_by_resource_group(
self, resource_group_name, custom_headers=None, raw=False, **operation_config):
"""List galleries under a resource group.

Expand All @@ -301,7 +301,7 @@ def list_galleries_in_resource_group(
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
"""
# Construct URL
url = self.list_galleries_in_resource_group.metadata['url']
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 @@ -341,9 +341,9 @@ def list_galleries_in_resource_group(
return client_raw_response

return deserialized
list_galleries_in_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries'}
list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries'}

def list_galleries_in_subscription(
def list_by_subscription(
self, custom_headers=None, raw=False, **operation_config):
"""List galleries under a subscription.

Expand All @@ -358,7 +358,7 @@ def list_galleries_in_subscription(
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
"""
# Construct URL
url = self.list_galleries_in_subscription.metadata['url']
url = self.list_by_subscription.metadata['url']
path_format_arguments = {
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
}
Expand Down Expand Up @@ -397,4 +397,4 @@ def list_galleries_in_subscription(
return client_raw_response

return deserialized
list_galleries_in_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries'}
list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries'}
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ def get_long_running_output(response):
return LROPoller(self._client, raw_result, get_long_running_output, polling_method)
delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}'}

def list_gallery_image_versions_in_gallery_image(
def list_gallery_image_versions_by_gallery_image(
self, resource_group_name, gallery_name, gallery_image_name, custom_headers=None, raw=False, **operation_config):
"""List gallery image versions under a gallery image.

Expand All @@ -335,7 +335,7 @@ def list_gallery_image_versions_in_gallery_image(
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
"""
# Construct URL
url = self.list_gallery_image_versions_in_gallery_image.metadata['url']
url = self.list_gallery_image_versions_by_gallery_image.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 @@ -377,4 +377,4 @@ def list_gallery_image_versions_in_gallery_image(
return client_raw_response

return deserialized
list_gallery_image_versions_in_gallery_image.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions'}
list_gallery_image_versions_by_gallery_image.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions'}
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def get_long_running_output(response):
return LROPoller(self._client, raw_result, get_long_running_output, polling_method)
delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}'}

def list_gallery_images_in_gallery(
def list_gallery_images_by_gallery(
self, resource_group_name, gallery_name, custom_headers=None, raw=False, **operation_config):
"""List gallery images under a gallery.

Expand All @@ -314,7 +314,7 @@ def list_gallery_images_in_gallery(
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
"""
# Construct URL
url = self.list_gallery_images_in_gallery.metadata['url']
url = self.list_gallery_images_by_gallery.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 @@ -355,4 +355,4 @@ def list_gallery_images_in_gallery(
return client_raw_response

return deserialized
list_gallery_images_in_gallery.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images'}
list_gallery_images_by_gallery.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images'}