Skip to content

Commit 049f8e8

Browse files
committed
resolve linter error
1 parent 80687e5 commit 049f8e8

File tree

5 files changed

+1248
-1410
lines changed

5 files changed

+1248
-1410
lines changed

src/azure-cli/azure/cli/command_modules/redis/_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def load_arguments(self, _): # pylint: disable=too-many-statements
5454
c.argument('update_channel', arg_type=get_enum_type(UpdateChannel), help='Specifies the update channel for the monthly Redis updates your Redis Cache will receive. Caches using "Preview" update channel get latest Redis updates at least 4 weeks ahead of "Stable" channel caches. Default value is "Stable".')
5555
c.argument('storage_subscription_id', options_list=['--storage-subscription-id', '--storage-sub-id'], help='SubscriptionId of the storage account')
5656
c.argument('disable_access_key_authentication', arg_type=get_three_state_flag(), options_list=['--disable-access-keys'], help='Authentication to Redis through access keys is disabled when set as true')
57-
c.argument('zonal_allocation_policy', arg_type=get_enum_type(ZonalAllocationPolicy), help='Specifies how availability zones are allocated to the Redis cache. "Automatic" enables zone redundancy and Azure will automatically select zones based on regional availability and capacity. "UserDefined" will select availability zones passed in by you using the "zones" parameter. "NoZones" will produce a non-zonal cache. If "zonal-allocation-policy" is not passed, it will be set to "UserDefined" when zones are passed in, otherwise, it will be set to "Automatic in regions where zones are supported and "NoZones" in regions where zones are not supported.')
57+
c.argument('zonal_allocation_policy', options_list=['--zonal-allocation-policy', '--zonal-allocation'], arg_type=get_enum_type(ZonalAllocationPolicy), help='Specifies how availability zones are allocated to the Redis cache. "Automatic" enables zone redundancy and Azure will automatically select zones based on regional availability and capacity. "UserDefined" will select availability zones passed in by you using the "zones" parameter. "NoZones" will produce a non-zonal cache. If "zonal-allocation-policy" is not passed, it will be set to "UserDefined" when zones are passed in, otherwise, it will be set to "Automatic in regions where zones are supported and "NoZones" in regions where zones are not supported.')
5858

5959
with self.argument_context('redis firewall-rules list') as c:
6060
c.argument('cache_name', arg_type=cache_name, id_part=None)

0 commit comments

Comments
 (0)