From 8ae1d1256257b157e3505513410bc0aa77f73dfe Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Sat, 23 Feb 2019 00:30:09 +0000 Subject: [PATCH 1/3] Generated from 03cd8d1b9ebae59ffdd6a8f41cc46b8bb24a5e40 Bringing consistency between this "ResourceGroup" definition and the one in Common. --- .../netapp/operations/accounts_operations.py | 48 +++++++++---------- .../operations/mount_targets_operations.py | 8 ++-- .../netapp/operations/pools_operations.py | 48 +++++++++---------- .../netapp/operations/snapshots_operations.py | 48 +++++++++---------- .../netapp/operations/volumes_operations.py | 48 +++++++++---------- .../azure/mgmt/netapp/version.py | 2 +- 6 files changed, 101 insertions(+), 101 deletions(-) diff --git a/azure-mgmt-netapp/azure/mgmt/netapp/operations/accounts_operations.py b/azure-mgmt-netapp/azure/mgmt/netapp/operations/accounts_operations.py index 19addfef5dfe..582844585a25 100644 --- a/azure-mgmt-netapp/azure/mgmt/netapp/operations/accounts_operations.py +++ b/azure-mgmt-netapp/azure/mgmt/netapp/operations/accounts_operations.py @@ -39,11 +39,11 @@ def __init__(self, client, config, serializer, deserializer): self.config = config def list( - self, resource_group, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, custom_headers=None, raw=False, **operation_config): """Lists all NetApp accounts in the resource group. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -62,7 +62,7 @@ def internal_paging(next_link=None, raw=False): url = self.list.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str') + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$') } url = self._client.format_url(url, **path_format_arguments) @@ -105,11 +105,11 @@ def internal_paging(next_link=None, raw=False): list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts'} def get( - self, resource_group, account_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, custom_headers=None, raw=False, **operation_config): """Get the NetApp account. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param dict custom_headers: headers that will be added to the request @@ -127,7 +127,7 @@ def get( url = self.get.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str') } url = self._client.format_url(url, **path_format_arguments) @@ -167,14 +167,14 @@ def get( def _create_or_update_initial( - self, resource_group, account_name, location, tags=None, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, location, tags=None, custom_headers=None, raw=False, **operation_config): body = models.NetAppAccount(location=location, tags=tags) # Construct URL url = self.create_or_update.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str') } url = self._client.format_url(url, **path_format_arguments) @@ -216,11 +216,11 @@ def _create_or_update_initial( return deserialized def create_or_update( - self, resource_group, account_name, location, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): + self, resource_group_name, account_name, location, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): """Create or update a NetApp account. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param location: Resource location @@ -242,7 +242,7 @@ def create_or_update( :class:`ErrorException` """ raw_result = self._create_or_update_initial( - resource_group=resource_group, + resource_group_name=resource_group_name, account_name=account_name, location=location, tags=tags, @@ -271,12 +271,12 @@ def get_long_running_output(response): def _delete_initial( - self, resource_group, account_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, custom_headers=None, raw=False, **operation_config): # Construct URL url = self.delete.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str') } url = self._client.format_url(url, **path_format_arguments) @@ -306,11 +306,11 @@ def _delete_initial( return client_raw_response def delete( - self, resource_group, account_name, custom_headers=None, raw=False, polling=True, **operation_config): + self, resource_group_name, account_name, custom_headers=None, raw=False, polling=True, **operation_config): """Delete a NetApp account. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param dict custom_headers: headers that will be added to the request @@ -326,7 +326,7 @@ def delete( :class:`ErrorException` """ raw_result = self._delete_initial( - resource_group=resource_group, + resource_group_name=resource_group_name, account_name=account_name, custom_headers=custom_headers, raw=True, @@ -348,11 +348,11 @@ def get_long_running_output(response): delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}'} def update( - self, resource_group, account_name, tags=None, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, tags=None, custom_headers=None, raw=False, **operation_config): """Patch a NetApp account. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param tags: Resource tags @@ -374,7 +374,7 @@ def update( url = self.update.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str') } url = self._client.format_url(url, **path_format_arguments) diff --git a/azure-mgmt-netapp/azure/mgmt/netapp/operations/mount_targets_operations.py b/azure-mgmt-netapp/azure/mgmt/netapp/operations/mount_targets_operations.py index a900436b7de9..0df9b99b4c64 100644 --- a/azure-mgmt-netapp/azure/mgmt/netapp/operations/mount_targets_operations.py +++ b/azure-mgmt-netapp/azure/mgmt/netapp/operations/mount_targets_operations.py @@ -37,11 +37,11 @@ def __init__(self, client, config, serializer, deserializer): self.config = config def list( - self, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): """List mount targets. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool @@ -66,7 +66,7 @@ def internal_paging(next_link=None, raw=False): url = self.list.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str'), 'volumeName': self._serialize.url("volume_name", volume_name, 'str') diff --git a/azure-mgmt-netapp/azure/mgmt/netapp/operations/pools_operations.py b/azure-mgmt-netapp/azure/mgmt/netapp/operations/pools_operations.py index 5bf900e3c398..92c3f0cf602e 100644 --- a/azure-mgmt-netapp/azure/mgmt/netapp/operations/pools_operations.py +++ b/azure-mgmt-netapp/azure/mgmt/netapp/operations/pools_operations.py @@ -39,11 +39,11 @@ def __init__(self, client, config, serializer, deserializer): self.config = config def list( - self, resource_group, account_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, custom_headers=None, raw=False, **operation_config): """Lists all capacity pools in the NetApp Account. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param dict custom_headers: headers that will be added to the request @@ -64,7 +64,7 @@ def internal_paging(next_link=None, raw=False): url = self.list.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str') } url = self._client.format_url(url, **path_format_arguments) @@ -108,11 +108,11 @@ def internal_paging(next_link=None, raw=False): list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools'} def get( - self, resource_group, account_name, pool_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, pool_name, custom_headers=None, raw=False, **operation_config): """Get a capacity pool. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool @@ -132,7 +132,7 @@ def get( url = self.get.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str') } @@ -173,12 +173,12 @@ def get( def _create_or_update_initial( - self, body, resource_group, account_name, pool_name, custom_headers=None, raw=False, **operation_config): + self, body, resource_group_name, account_name, pool_name, custom_headers=None, raw=False, **operation_config): # Construct URL url = self.create_or_update.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str') } @@ -223,14 +223,14 @@ def _create_or_update_initial( return deserialized def create_or_update( - self, body, resource_group, account_name, pool_name, custom_headers=None, raw=False, polling=True, **operation_config): + self, body, resource_group_name, account_name, pool_name, custom_headers=None, raw=False, polling=True, **operation_config): """Create or Update a capacity pool. :param body: Capacity pool object supplied in the body of the operation. :type body: ~azure.mgmt.netapp.models.CapacityPool - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool @@ -251,7 +251,7 @@ def create_or_update( """ raw_result = self._create_or_update_initial( body=body, - resource_group=resource_group, + resource_group_name=resource_group_name, account_name=account_name, pool_name=pool_name, custom_headers=custom_headers, @@ -278,11 +278,11 @@ def get_long_running_output(response): create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}'} def update( - self, resource_group, account_name, pool_name, tags=None, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, pool_name, tags=None, custom_headers=None, raw=False, **operation_config): """Patch a capacity pool. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool @@ -306,7 +306,7 @@ def update( url = self.update.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str') } @@ -351,12 +351,12 @@ def update( def _delete_initial( - self, resource_group, account_name, pool_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, pool_name, custom_headers=None, raw=False, **operation_config): # Construct URL url = self.delete.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str') } @@ -387,11 +387,11 @@ def _delete_initial( return client_raw_response def delete( - self, resource_group, account_name, pool_name, custom_headers=None, raw=False, polling=True, **operation_config): + self, resource_group_name, account_name, pool_name, custom_headers=None, raw=False, polling=True, **operation_config): """Delete a capacity pool. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool @@ -409,7 +409,7 @@ def delete( :class:`ErrorException` """ raw_result = self._delete_initial( - resource_group=resource_group, + resource_group_name=resource_group_name, account_name=account_name, pool_name=pool_name, custom_headers=custom_headers, diff --git a/azure-mgmt-netapp/azure/mgmt/netapp/operations/snapshots_operations.py b/azure-mgmt-netapp/azure/mgmt/netapp/operations/snapshots_operations.py index 9216a465f1b4..a79ed3b2e10c 100644 --- a/azure-mgmt-netapp/azure/mgmt/netapp/operations/snapshots_operations.py +++ b/azure-mgmt-netapp/azure/mgmt/netapp/operations/snapshots_operations.py @@ -39,11 +39,11 @@ def __init__(self, client, config, serializer, deserializer): self.config = config def list( - self, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): """List snapshots. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool @@ -68,7 +68,7 @@ def internal_paging(next_link=None, raw=False): url = self.list.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str'), 'volumeName': self._serialize.url("volume_name", volume_name, 'str') @@ -114,11 +114,11 @@ def internal_paging(next_link=None, raw=False): list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots'} def get( - self, resource_group, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, **operation_config): """Get a snapshot. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool @@ -142,7 +142,7 @@ def get( url = self.get.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str'), 'volumeName': self._serialize.url("volume_name", volume_name, 'str'), @@ -185,12 +185,12 @@ def get( def _create_initial( - self, body, resource_group, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, **operation_config): + self, body, resource_group_name, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, **operation_config): # Construct URL url = self.create.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str'), 'volumeName': self._serialize.url("volume_name", volume_name, 'str'), @@ -235,13 +235,13 @@ def _create_initial( return deserialized def create( - self, body, resource_group, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, polling=True, **operation_config): + self, body, resource_group_name, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, polling=True, **operation_config): """Create a snapshot. :param body: Snapshot object supplied in the body of the operation. :type body: ~azure.mgmt.netapp.models.Snapshot - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool @@ -266,7 +266,7 @@ def create( """ raw_result = self._create_initial( body=body, - resource_group=resource_group, + resource_group_name=resource_group_name, account_name=account_name, pool_name=pool_name, volume_name=volume_name, @@ -295,11 +295,11 @@ def get_long_running_output(response): create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}'} def update( - self, resource_group, account_name, pool_name, volume_name, snapshot_name, tags=None, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, pool_name, volume_name, snapshot_name, tags=None, custom_headers=None, raw=False, **operation_config): """Patch a snapshot. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool @@ -327,7 +327,7 @@ def update( url = self.update.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str'), 'volumeName': self._serialize.url("volume_name", volume_name, 'str'), @@ -374,12 +374,12 @@ def update( def _delete_initial( - self, resource_group, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, **operation_config): # Construct URL url = self.delete.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str'), 'volumeName': self._serialize.url("volume_name", volume_name, 'str'), @@ -412,11 +412,11 @@ def _delete_initial( return client_raw_response def delete( - self, resource_group, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, polling=True, **operation_config): + self, resource_group_name, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, polling=True, **operation_config): """Delete snapshot. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool @@ -438,7 +438,7 @@ def delete( :class:`ErrorException` """ raw_result = self._delete_initial( - resource_group=resource_group, + resource_group_name=resource_group_name, account_name=account_name, pool_name=pool_name, volume_name=volume_name, diff --git a/azure-mgmt-netapp/azure/mgmt/netapp/operations/volumes_operations.py b/azure-mgmt-netapp/azure/mgmt/netapp/operations/volumes_operations.py index c31c39a6abfb..21e18842e84a 100644 --- a/azure-mgmt-netapp/azure/mgmt/netapp/operations/volumes_operations.py +++ b/azure-mgmt-netapp/azure/mgmt/netapp/operations/volumes_operations.py @@ -39,11 +39,11 @@ def __init__(self, client, config, serializer, deserializer): self.config = config def list( - self, resource_group, account_name, pool_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, pool_name, custom_headers=None, raw=False, **operation_config): """List volumes. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool @@ -66,7 +66,7 @@ def internal_paging(next_link=None, raw=False): url = self.list.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str') } @@ -111,11 +111,11 @@ def internal_paging(next_link=None, raw=False): list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes'} def get( - self, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): """Get a volume. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool @@ -137,7 +137,7 @@ def get( url = self.get.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str'), 'volumeName': self._serialize.url("volume_name", volume_name, 'str') @@ -179,12 +179,12 @@ def get( def _create_or_update_initial( - self, body, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): + self, body, resource_group_name, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): # Construct URL url = self.create_or_update.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str'), 'volumeName': self._serialize.url("volume_name", volume_name, 'str') @@ -230,13 +230,13 @@ def _create_or_update_initial( return deserialized def create_or_update( - self, body, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, polling=True, **operation_config): + self, body, resource_group_name, account_name, pool_name, volume_name, custom_headers=None, raw=False, polling=True, **operation_config): """Create or update a volume. :param body: Volume object supplied in the body of the operation. :type body: ~azure.mgmt.netapp.models.Volume - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool @@ -259,7 +259,7 @@ def create_or_update( """ raw_result = self._create_or_update_initial( body=body, - resource_group=resource_group, + resource_group_name=resource_group_name, account_name=account_name, pool_name=pool_name, volume_name=volume_name, @@ -287,13 +287,13 @@ def get_long_running_output(response): create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}'} def update( - self, body, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): + self, body, resource_group_name, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): """Patch a volume. :param body: Volume object supplied in the body of the operation. :type body: ~azure.mgmt.netapp.models.VolumePatch - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool @@ -315,7 +315,7 @@ def update( url = self.update.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str'), 'volumeName': self._serialize.url("volume_name", volume_name, 'str') @@ -361,12 +361,12 @@ def update( def _delete_initial( - self, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): # Construct URL url = self.delete.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str'), 'volumeName': self._serialize.url("volume_name", volume_name, 'str') @@ -398,11 +398,11 @@ def _delete_initial( return client_raw_response def delete( - self, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, polling=True, **operation_config): + self, resource_group_name, account_name, pool_name, volume_name, custom_headers=None, raw=False, polling=True, **operation_config): """Delete a volume. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool @@ -422,7 +422,7 @@ def delete( :class:`ErrorException` """ raw_result = self._delete_initial( - resource_group=resource_group, + resource_group_name=resource_group_name, account_name=account_name, pool_name=pool_name, volume_name=volume_name, diff --git a/azure-mgmt-netapp/azure/mgmt/netapp/version.py b/azure-mgmt-netapp/azure/mgmt/netapp/version.py index e0ec669828cb..a39916c162ce 100644 --- a/azure-mgmt-netapp/azure/mgmt/netapp/version.py +++ b/azure-mgmt-netapp/azure/mgmt/netapp/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "0.1.0" +VERSION = "1.0.0" From 4bffccbe60dcb3e83959ebf0713b06b7e2303f24 Mon Sep 17 00:00:00 2001 From: azuresdkci Date: Sat, 23 Feb 2019 00:34:15 +0000 Subject: [PATCH 2/3] Packaging update of azure-mgmt-netapp --- azure-mgmt-netapp/README.rst | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/azure-mgmt-netapp/README.rst b/azure-mgmt-netapp/README.rst index 620bb4e0b12e..03763309da23 100644 --- a/azure-mgmt-netapp/README.rst +++ b/azure-mgmt-netapp/README.rst @@ -14,25 +14,6 @@ For the older Azure Service Management (ASM) libraries, see For a more complete set of Azure libraries, see the `azure `__ bundle package. -Compatibility -============= - -**IMPORTANT**: If you have an earlier version of the azure package -(version < 1.0), you should uninstall it before installing this package. - -You can check the version using pip: - -.. code:: shell - - pip freeze - -If you see azure==0.11.0 (or any version below 1.0), uninstall it first: - -.. code:: shell - - pip uninstall azure - - Usage ===== From 842784e1aa56c3105699d5d5ab6501779cb20322 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Sat, 23 Feb 2019 01:27:46 +0000 Subject: [PATCH 3/3] Generated from 50e444eff2d8735a298c8a1f7d7855b2e7143dec Fixing broken references --- .../mgmt/netapp/operations/accounts_operations.py | 10 +++++----- .../mgmt/netapp/operations/mount_targets_operations.py | 2 +- .../azure/mgmt/netapp/operations/pools_operations.py | 10 +++++----- .../mgmt/netapp/operations/snapshots_operations.py | 10 +++++----- .../azure/mgmt/netapp/operations/volumes_operations.py | 10 +++++----- 5 files changed, 21 insertions(+), 21 deletions(-) diff --git a/azure-mgmt-netapp/azure/mgmt/netapp/operations/accounts_operations.py b/azure-mgmt-netapp/azure/mgmt/netapp/operations/accounts_operations.py index 582844585a25..da73c1444c8b 100644 --- a/azure-mgmt-netapp/azure/mgmt/netapp/operations/accounts_operations.py +++ b/azure-mgmt-netapp/azure/mgmt/netapp/operations/accounts_operations.py @@ -102,7 +102,7 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts'} + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts'} def get( self, resource_group_name, account_name, custom_headers=None, raw=False, **operation_config): @@ -163,7 +163,7 @@ def get( return client_raw_response return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}'} + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}'} def _create_or_update_initial( @@ -267,7 +267,7 @@ def get_long_running_output(response): elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}'} + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}'} def _delete_initial( @@ -345,7 +345,7 @@ def get_long_running_output(response): elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}'} + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}'} def update( self, resource_group_name, account_name, tags=None, custom_headers=None, raw=False, **operation_config): @@ -414,4 +414,4 @@ def update( return client_raw_response return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}'} + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}'} diff --git a/azure-mgmt-netapp/azure/mgmt/netapp/operations/mount_targets_operations.py b/azure-mgmt-netapp/azure/mgmt/netapp/operations/mount_targets_operations.py index 0df9b99b4c64..c0d1b4c86f2f 100644 --- a/azure-mgmt-netapp/azure/mgmt/netapp/operations/mount_targets_operations.py +++ b/azure-mgmt-netapp/azure/mgmt/netapp/operations/mount_targets_operations.py @@ -109,4 +109,4 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets'} + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets'} diff --git a/azure-mgmt-netapp/azure/mgmt/netapp/operations/pools_operations.py b/azure-mgmt-netapp/azure/mgmt/netapp/operations/pools_operations.py index 92c3f0cf602e..9a523a657aa4 100644 --- a/azure-mgmt-netapp/azure/mgmt/netapp/operations/pools_operations.py +++ b/azure-mgmt-netapp/azure/mgmt/netapp/operations/pools_operations.py @@ -105,7 +105,7 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools'} + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools'} def get( self, resource_group_name, account_name, pool_name, custom_headers=None, raw=False, **operation_config): @@ -169,7 +169,7 @@ def get( return client_raw_response return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}'} + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}'} def _create_or_update_initial( @@ -275,7 +275,7 @@ def get_long_running_output(response): elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}'} + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}'} def update( self, resource_group_name, account_name, pool_name, tags=None, custom_headers=None, raw=False, **operation_config): @@ -347,7 +347,7 @@ def update( return client_raw_response return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}'} + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}'} def _delete_initial( @@ -429,4 +429,4 @@ def get_long_running_output(response): elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}'} + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}'} diff --git a/azure-mgmt-netapp/azure/mgmt/netapp/operations/snapshots_operations.py b/azure-mgmt-netapp/azure/mgmt/netapp/operations/snapshots_operations.py index a79ed3b2e10c..1b003e85a6d2 100644 --- a/azure-mgmt-netapp/azure/mgmt/netapp/operations/snapshots_operations.py +++ b/azure-mgmt-netapp/azure/mgmt/netapp/operations/snapshots_operations.py @@ -111,7 +111,7 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots'} + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots'} def get( self, resource_group_name, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, **operation_config): @@ -181,7 +181,7 @@ def get( return client_raw_response return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}'} + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}'} def _create_initial( @@ -292,7 +292,7 @@ def get_long_running_output(response): elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}'} + create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}'} def update( self, resource_group_name, account_name, pool_name, volume_name, snapshot_name, tags=None, custom_headers=None, raw=False, **operation_config): @@ -370,7 +370,7 @@ def update( return client_raw_response return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}'} + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}'} def _delete_initial( @@ -460,4 +460,4 @@ def get_long_running_output(response): elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}'} + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}'} diff --git a/azure-mgmt-netapp/azure/mgmt/netapp/operations/volumes_operations.py b/azure-mgmt-netapp/azure/mgmt/netapp/operations/volumes_operations.py index 21e18842e84a..663aa86b58d4 100644 --- a/azure-mgmt-netapp/azure/mgmt/netapp/operations/volumes_operations.py +++ b/azure-mgmt-netapp/azure/mgmt/netapp/operations/volumes_operations.py @@ -108,7 +108,7 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes'} + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes'} def get( self, resource_group_name, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): @@ -175,7 +175,7 @@ def get( return client_raw_response return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}'} + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}'} def _create_or_update_initial( @@ -284,7 +284,7 @@ def get_long_running_output(response): elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}'} + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}'} def update( self, body, resource_group_name, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): @@ -357,7 +357,7 @@ def update( return client_raw_response return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}'} + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}'} def _delete_initial( @@ -443,4 +443,4 @@ def get_long_running_output(response): elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}'} + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}'}