diff --git a/src/redisenterprise/HISTORY.rst b/src/redisenterprise/HISTORY.rst
index a0fd6ee6c9c..1c139576ba0 100644
--- a/src/redisenterprise/HISTORY.rst
+++ b/src/redisenterprise/HISTORY.rst
@@ -3,11 +3,6 @@
Release History
===============
-0.1.1
-++++++
-* Renamed remaining snake_case command output fields to camelCase to be consistent with the REST API.
-* Listed the following cluster attribute as null in the command output when the cluster attribute is null: zones.
-
0.1.0
++++++
* Initial release.
diff --git a/src/redisenterprise/azext_redisenterprise/azext_metadata.json b/src/redisenterprise/azext_redisenterprise/azext_metadata.json
index 30fdaf614ee..3695b0d7077 100644
--- a/src/redisenterprise/azext_redisenterprise/azext_metadata.json
+++ b/src/redisenterprise/azext_redisenterprise/azext_metadata.json
@@ -1,4 +1,3 @@
{
- "azext.isPreview": true,
"azext.minCliCoreVersion": "2.15.0"
}
\ No newline at end of file
diff --git a/src/redisenterprise/azext_redisenterprise/generated/_help.py b/src/redisenterprise/azext_redisenterprise/generated/_help.py
index 7972c1cf968..c9bb8ea33fb 100644
--- a/src/redisenterprise/azext_redisenterprise/generated/_help.py
+++ b/src/redisenterprise/azext_redisenterprise/generated/_help.py
@@ -193,12 +193,13 @@
helps['redisenterprise database import'] = """
type: command
- short-summary: "Imports a database file to target database."
+ short-summary: "Imports database files to target database."
examples:
- name: RedisEnterpriseDatabasesImport
text: |-
- az redisenterprise database import --cluster-name "cache1" --sas-uri "https://contosostorage.blob.core.w\
-indow.net/urltoBlobFile?sasKeyParameters" --resource-group "rg1"
+ az redisenterprise database import --cluster-name "cache1" --sas-uris "https://contosostorage.blob.core.\
+window.net/urltoBlobFile1?sasKeyParameters" "https://contosostorage.blob.core.window.net/urltoBlobFile2?sasKeyParameter\
+s" --resource-group "rg1"
"""
helps['redisenterprise database list-keys'] = """
diff --git a/src/redisenterprise/azext_redisenterprise/generated/_params.py b/src/redisenterprise/azext_redisenterprise/generated/_params.py
index 3c193dad258..140858a842a 100644
--- a/src/redisenterprise/azext_redisenterprise/generated/_params.py
+++ b/src/redisenterprise/azext_redisenterprise/generated/_params.py
@@ -136,7 +136,7 @@ def load_arguments(self, _):
c.argument('resource_group_name', resource_group_name_type)
c.argument('cluster_name', options_list=['--cluster-name', '--name', '-n'], type=str, help='The name of the '
'RedisEnterprise cluster.', id_part='name')
- c.argument('sas_uri', type=str, help='SAS URI for the target blob to import from')
+ c.argument('sas_uris', nargs='+', help='SAS URIs for the target blobs to import from')
with self.argument_context('redisenterprise database list-keys') as c:
c.argument('resource_group_name', resource_group_name_type)
diff --git a/src/redisenterprise/azext_redisenterprise/generated/commands.py b/src/redisenterprise/azext_redisenterprise/generated/commands.py
index 7984a018dff..bfa13ff1d3f 100644
--- a/src/redisenterprise/azext_redisenterprise/generated/commands.py
+++ b/src/redisenterprise/azext_redisenterprise/generated/commands.py
@@ -9,7 +9,6 @@
# --------------------------------------------------------------------------
# pylint: disable=too-many-statements
# pylint: disable=too-many-locals
-# pylint: disable=line-too-long
from azure.cli.core.commands import CliCommandType
@@ -17,25 +16,21 @@
def load_command_table(self, _):
from azext_redisenterprise.generated._client_factory import cf_operation_status
-
redisenterprise_operation_status = CliCommandType(
- operations_tmpl='azext_redisenterprise.vendored_sdks.redisenterprise.operations._operations_status_operations#OperationsStatusOperations.{}',
- client_factory=cf_operation_status,
- )
- with self.command_group(
- 'redisenterprise operation-status', redisenterprise_operation_status, client_factory=cf_operation_status
- ) as g:
+ operations_tmpl='azext_redisenterprise.vendored_sdks.redisenterprise.operations._operations_status_operations#O'
+ 'perationsStatusOperations.{}',
+ client_factory=cf_operation_status)
+ with self.command_group('redisenterprise operation-status', redisenterprise_operation_status,
+ client_factory=cf_operation_status) as g:
g.custom_show_command('show', 'redisenterprise_operation_status_show')
from azext_redisenterprise.generated._client_factory import cf_redis_enterprise
-
redisenterprise_redis_enterprise = CliCommandType(
- operations_tmpl='azext_redisenterprise.vendored_sdks.redisenterprise.operations._redis_enterprise_operations#RedisEnterpriseOperations.{}',
- client_factory=cf_redis_enterprise,
- )
- with self.command_group(
- 'redisenterprise', redisenterprise_redis_enterprise, client_factory=cf_redis_enterprise
- ) as g:
+ operations_tmpl='azext_redisenterprise.vendored_sdks.redisenterprise.operations._redis_enterprise_operations#Re'
+ 'disEnterpriseOperations.{}',
+ client_factory=cf_redis_enterprise)
+ with self.command_group('redisenterprise', redisenterprise_redis_enterprise,
+ client_factory=cf_redis_enterprise) as g:
g.custom_command('list', 'redisenterprise_list')
g.custom_show_command('show', 'redisenterprise_show')
g.custom_command('create', 'redisenterprise_create', supports_no_wait=True)
@@ -44,11 +39,10 @@ def load_command_table(self, _):
g.custom_wait_command('wait', 'redisenterprise_show')
from azext_redisenterprise.generated._client_factory import cf_database
-
redisenterprise_database = CliCommandType(
- operations_tmpl='azext_redisenterprise.vendored_sdks.redisenterprise.operations._databases_operations#DatabasesOperations.{}',
- client_factory=cf_database,
- )
+ operations_tmpl='azext_redisenterprise.vendored_sdks.redisenterprise.operations._databases_operations#Databases'
+ 'Operations.{}',
+ client_factory=cf_database)
with self.command_group('redisenterprise database', redisenterprise_database, client_factory=cf_database) as g:
g.custom_command('list', 'redisenterprise_database_list')
g.custom_show_command('show', 'redisenterprise_database_show')
diff --git a/src/redisenterprise/azext_redisenterprise/generated/custom.py b/src/redisenterprise/azext_redisenterprise/generated/custom.py
index 1d89160f322..74d98c25158 100644
--- a/src/redisenterprise/azext_redisenterprise/generated/custom.py
+++ b/src/redisenterprise/azext_redisenterprise/generated/custom.py
@@ -49,7 +49,6 @@ def redisenterprise_create(client,
parameters['sku'] = {}
parameters['sku']['name'] = sku
parameters['sku']['capacity'] = capacity
- parameters['zones'] = zones
parameters['minimum_tls_version'] = minimum_tls_version
return sdk_no_wait(no_wait,
client.begin_create,
@@ -70,7 +69,6 @@ def redisenterprise_update(client,
parameters['sku'] = {}
parameters['sku']['name'] = sku
parameters['sku']['capacity'] = capacity
- parameters['tags'] = tags
parameters['minimum_tls_version'] = minimum_tls_version
return sdk_no_wait(no_wait,
client.begin_update,
@@ -177,10 +175,10 @@ def redisenterprise_database_export(client,
def redisenterprise_database_import(client,
resource_group_name,
cluster_name,
- sas_uri,
+ sas_uris,
no_wait=False):
parameters = {}
- parameters['sas_uri'] = sas_uri
+ parameters['sas_uris'] = sas_uris
return sdk_no_wait(no_wait,
client.begin_import_method,
resource_group_name=resource_group_name,
diff --git a/src/redisenterprise/azext_redisenterprise/tests/latest/example_steps.py b/src/redisenterprise/azext_redisenterprise/tests/latest/example_steps.py
index ba09f155670..18e2cfc4286 100644
--- a/src/redisenterprise/azext_redisenterprise/tests/latest/example_steps.py
+++ b/src/redisenterprise/azext_redisenterprise/tests/latest/example_steps.py
@@ -7,7 +7,6 @@
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
-# pylint: disable=unused-argument
from .. import try_manual
@@ -87,7 +86,8 @@ def step_database_import(test, rg, checks=None):
checks = []
test.cmd('az redisenterprise database import '
'--cluster-name "cache1" '
- '--sas-uri "https://contosostorage.blob.core.window.net/urltoBlobFile?sasKeyParameters" '
+ '--sas-uris "https://contosostorage.blob.core.window.net/urltoBlobFile1?sasKeyParameters" '
+ '"https://contosostorage.blob.core.window.net/urltoBlobFile2?sasKeyParameters" '
'--resource-group "{rg}"',
checks=checks)
@@ -209,3 +209,4 @@ def step_delete(test, rg, checks=None):
'--cluster-name "cache1" '
'--resource-group "{rg}"',
checks=checks)
+
diff --git a/src/redisenterprise/azext_redisenterprise/tests/latest/test_redisenterprise_scenario.py b/src/redisenterprise/azext_redisenterprise/tests/latest/test_redisenterprise_scenario.py
index cb4e596e70c..d22e857bd87 100644
--- a/src/redisenterprise/azext_redisenterprise/tests/latest/test_redisenterprise_scenario.py
+++ b/src/redisenterprise/azext_redisenterprise/tests/latest/test_redisenterprise_scenario.py
@@ -67,6 +67,7 @@ class Redisenterprisescenario1Test(ScenarioTest):
def __init__(self, *args, **kwargs):
super(Redisenterprisescenario1Test, self).__init__(*args, **kwargs)
+
@ResourceGroupPreparer(name_prefix='clitestredisenterprise_rg1'[:7], key='rg', parameter_name='rg')
def test_redisenterprise_scenario1(self, rg):
call_scenario1(self, rg)
@@ -111,8 +112,10 @@ class Redisenterprisescenario2Test(ScenarioTest):
def __init__(self, *args, **kwargs):
super(Redisenterprisescenario2Test, self).__init__(*args, **kwargs)
+
@ResourceGroupPreparer(name_prefix='clitestredisenterprise_rg1'[:7], key='rg', parameter_name='rg')
def test_redisenterprise_scenario2(self, rg):
call_scenario2(self, rg)
calc_coverage(__file__)
raise_if()
+
diff --git a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/__init__.py b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/__init__.py
index 739e16fde4d..f5ea9b08fcc 100644
--- a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/__init__.py
+++ b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/__init__.py
@@ -7,9 +7,6 @@
# --------------------------------------------------------------------------
from ._redis_enterprise_management_client import RedisEnterpriseManagementClient
-from ._version import VERSION
-
-__version__ = VERSION
__all__ = ['RedisEnterpriseManagementClient']
try:
diff --git a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/_configuration.py b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/_configuration.py
index 284a0182c77..96345d87f58 100644
--- a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/_configuration.py
+++ b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/_configuration.py
@@ -12,14 +12,13 @@
from azure.core.pipeline import policies
from azure.mgmt.core.policies import ARMHttpLoggingPolicy
-from ._version import VERSION
-
if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
from typing import Any
from azure.core.credentials import TokenCredential
+VERSION = "unknown"
class RedisEnterpriseManagementClientConfiguration(Configuration):
"""Configuration for RedisEnterpriseManagementClient.
@@ -48,9 +47,9 @@ def __init__(
self.credential = credential
self.subscription_id = subscription_id
- self.api_version = "2021-03-01"
+ self.api_version = "2021-08-01"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
- kwargs.setdefault('sdk_moniker', 'mgmt-redisenterprise/{}'.format(VERSION))
+ kwargs.setdefault('sdk_moniker', 'redisenterprisemanagementclient/{}'.format(VERSION))
self._configure(**kwargs)
def _configure(
diff --git a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/_redis_enterprise_management_client.py b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/_redis_enterprise_management_client.py
index 3ba5f8648e8..e0c1ddfd7d6 100644
--- a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/_redis_enterprise_management_client.py
+++ b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/_redis_enterprise_management_client.py
@@ -31,17 +31,17 @@ class RedisEnterpriseManagementClient(object):
"""REST API for managing Redis Enterprise resources in Azure.
:ivar operations: Operations operations
- :vartype operations: azure.mgmt.redisenterprise.operations.Operations
+ :vartype operations: redis_enterprise_management_client.operations.Operations
:ivar operations_status: OperationsStatusOperations operations
- :vartype operations_status: azure.mgmt.redisenterprise.operations.OperationsStatusOperations
+ :vartype operations_status: redis_enterprise_management_client.operations.OperationsStatusOperations
:ivar redis_enterprise: RedisEnterpriseOperations operations
- :vartype redis_enterprise: azure.mgmt.redisenterprise.operations.RedisEnterpriseOperations
+ :vartype redis_enterprise: redis_enterprise_management_client.operations.RedisEnterpriseOperations
:ivar databases: DatabasesOperations operations
- :vartype databases: azure.mgmt.redisenterprise.operations.DatabasesOperations
+ :vartype databases: redis_enterprise_management_client.operations.DatabasesOperations
:ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations
- :vartype private_endpoint_connections: azure.mgmt.redisenterprise.operations.PrivateEndpointConnectionsOperations
+ :vartype private_endpoint_connections: redis_enterprise_management_client.operations.PrivateEndpointConnectionsOperations
:ivar private_link_resources: PrivateLinkResourcesOperations operations
- :vartype private_link_resources: azure.mgmt.redisenterprise.operations.PrivateLinkResourcesOperations
+ :vartype private_link_resources: redis_enterprise_management_client.operations.PrivateLinkResourcesOperations
:param credential: Credential needed for the client to connect to Azure.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The ID of the target subscription.
@@ -65,7 +65,6 @@ def __init__(
client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
- self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)
self.operations = Operations(
diff --git a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/_version.py b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/_version.py
deleted file mode 100644
index c47f66669f1..00000000000
--- a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/_version.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# coding=utf-8
-# --------------------------------------------------------------------------
-# Copyright (c) Microsoft Corporation. All rights reserved.
-# Licensed under the MIT License. See License.txt in the project root for license information.
-# Code generated by Microsoft (R) AutoRest Code Generator.
-# Changes may cause incorrect behavior and will be lost if the code is regenerated.
-# --------------------------------------------------------------------------
-
-VERSION = "1.0.0"
diff --git a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/_configuration.py b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/_configuration.py
index ce5c61e781f..2dd41b0c036 100644
--- a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/_configuration.py
+++ b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/_configuration.py
@@ -12,12 +12,11 @@
from azure.core.pipeline import policies
from azure.mgmt.core.policies import ARMHttpLoggingPolicy
-from .._version import VERSION
-
if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
from azure.core.credentials_async import AsyncTokenCredential
+VERSION = "unknown"
class RedisEnterpriseManagementClientConfiguration(Configuration):
"""Configuration for RedisEnterpriseManagementClient.
@@ -45,9 +44,9 @@ def __init__(
self.credential = credential
self.subscription_id = subscription_id
- self.api_version = "2021-03-01"
+ self.api_version = "2021-08-01"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
- kwargs.setdefault('sdk_moniker', 'mgmt-redisenterprise/{}'.format(VERSION))
+ kwargs.setdefault('sdk_moniker', 'redisenterprisemanagementclient/{}'.format(VERSION))
self._configure(**kwargs)
def _configure(
diff --git a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/_redis_enterprise_management_client.py b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/_redis_enterprise_management_client.py
index a7a596180e6..63eab012701 100644
--- a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/_redis_enterprise_management_client.py
+++ b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/_redis_enterprise_management_client.py
@@ -29,17 +29,17 @@ class RedisEnterpriseManagementClient(object):
"""REST API for managing Redis Enterprise resources in Azure.
:ivar operations: Operations operations
- :vartype operations: azure.mgmt.redisenterprise.aio.operations.Operations
+ :vartype operations: redis_enterprise_management_client.aio.operations.Operations
:ivar operations_status: OperationsStatusOperations operations
- :vartype operations_status: azure.mgmt.redisenterprise.aio.operations.OperationsStatusOperations
+ :vartype operations_status: redis_enterprise_management_client.aio.operations.OperationsStatusOperations
:ivar redis_enterprise: RedisEnterpriseOperations operations
- :vartype redis_enterprise: azure.mgmt.redisenterprise.aio.operations.RedisEnterpriseOperations
+ :vartype redis_enterprise: redis_enterprise_management_client.aio.operations.RedisEnterpriseOperations
:ivar databases: DatabasesOperations operations
- :vartype databases: azure.mgmt.redisenterprise.aio.operations.DatabasesOperations
+ :vartype databases: redis_enterprise_management_client.aio.operations.DatabasesOperations
:ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations
- :vartype private_endpoint_connections: azure.mgmt.redisenterprise.aio.operations.PrivateEndpointConnectionsOperations
+ :vartype private_endpoint_connections: redis_enterprise_management_client.aio.operations.PrivateEndpointConnectionsOperations
:ivar private_link_resources: PrivateLinkResourcesOperations operations
- :vartype private_link_resources: azure.mgmt.redisenterprise.aio.operations.PrivateLinkResourcesOperations
+ :vartype private_link_resources: redis_enterprise_management_client.aio.operations.PrivateLinkResourcesOperations
:param credential: Credential needed for the client to connect to Azure.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param subscription_id: The ID of the target subscription.
@@ -62,7 +62,6 @@ def __init__(
client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
- self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)
self.operations = Operations(
diff --git a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/operations/_databases_operations.py b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/operations/_databases_operations.py
index 7346ef055a0..5785f345263 100644
--- a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/operations/_databases_operations.py
+++ b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/operations/_databases_operations.py
@@ -28,7 +28,7 @@ class DatabasesOperations:
instantiates it for you and attaches it as an attribute.
:ivar models: Alias to model classes used in this operation group.
- :type models: ~azure.mgmt.redisenterprise.models
+ :type models: ~redis_enterprise_management_client.models
:param client: Client for service requests.
:param config: Configuration of service client.
:param serializer: An object model serializer.
@@ -57,7 +57,7 @@ def list_by_cluster(
:type cluster_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either DatabaseList or the result of cls(response)
- :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.redisenterprise.models.DatabaseList]
+ :rtype: ~azure.core.async_paging.AsyncItemPaged[~redis_enterprise_management_client.models.DatabaseList]
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.DatabaseList"]
@@ -65,7 +65,7 @@ def list_by_cluster(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
accept = "application/json"
def prepare_request(next_link=None):
@@ -78,7 +78,7 @@ def prepare_request(next_link=None):
url = self.list_by_cluster.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -131,14 +131,14 @@ async def _create_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"
# Construct URL
url = self._create_initial.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'databaseName': self._serialize.url("database_name", database_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
@@ -195,7 +195,7 @@ async def begin_create(
:param database_name: The name of the database.
:type database_name: str
:param parameters: Parameters supplied to the create or update database operation.
- :type parameters: ~azure.mgmt.redisenterprise.models.Database
+ :type parameters: ~redis_enterprise_management_client.models.Database
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: True for ARMPolling, False for no polling, or a
@@ -203,7 +203,7 @@ async def begin_create(
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either Database or the result of cls(response)
- :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.redisenterprise.models.Database]
+ :rtype: ~azure.core.polling.AsyncLROPoller[~redis_enterprise_management_client.models.Database]
:raises ~azure.core.exceptions.HttpResponseError:
"""
polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod]
@@ -234,7 +234,7 @@ def get_long_running_output(pipeline_response):
return deserialized
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'databaseName': self._serialize.url("database_name", database_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
@@ -267,14 +267,14 @@ async def _update_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"
# Construct URL
url = self._update_initial.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'databaseName': self._serialize.url("database_name", database_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
@@ -329,7 +329,7 @@ async def begin_update(
:param database_name: The name of the database.
:type database_name: str
:param parameters: Parameters supplied to the create or update database operation.
- :type parameters: ~azure.mgmt.redisenterprise.models.DatabaseUpdate
+ :type parameters: ~redis_enterprise_management_client.models.DatabaseUpdate
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: True for ARMPolling, False for no polling, or a
@@ -337,7 +337,7 @@ async def begin_update(
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either Database or the result of cls(response)
- :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.redisenterprise.models.Database]
+ :rtype: ~azure.core.polling.AsyncLROPoller[~redis_enterprise_management_client.models.Database]
:raises ~azure.core.exceptions.HttpResponseError:
"""
polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod]
@@ -368,7 +368,7 @@ def get_long_running_output(pipeline_response):
return deserialized
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'databaseName': self._serialize.url("database_name", database_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
@@ -405,7 +405,7 @@ async def get(
:type database_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: Database, or the result of cls(response)
- :rtype: ~azure.mgmt.redisenterprise.models.Database
+ :rtype: ~redis_enterprise_management_client.models.Database
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.Database"]
@@ -413,13 +413,13 @@ async def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
accept = "application/json"
# Construct URL
url = self.get.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'databaseName': self._serialize.url("database_name", database_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
@@ -463,13 +463,13 @@ async def _delete_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
accept = "application/json"
# Construct URL
url = self._delete_initial.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'databaseName': self._serialize.url("database_name", database_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
@@ -547,7 +547,7 @@ def get_long_running_output(pipeline_response):
return cls(pipeline_response, None, {})
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'databaseName': self._serialize.url("database_name", database_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
@@ -584,7 +584,7 @@ async def list_keys(
:type database_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: AccessKeys, or the result of cls(response)
- :rtype: ~azure.mgmt.redisenterprise.models.AccessKeys
+ :rtype: ~redis_enterprise_management_client.models.AccessKeys
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.AccessKeys"]
@@ -592,13 +592,13 @@ async def list_keys(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
accept = "application/json"
# Construct URL
url = self.list_keys.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'databaseName': self._serialize.url("database_name", database_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
@@ -643,14 +643,14 @@ async def _regenerate_key_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"
# Construct URL
url = self._regenerate_key_initial.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'databaseName': self._serialize.url("database_name", database_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
@@ -705,7 +705,7 @@ async def begin_regenerate_key(
:param database_name: The name of the database.
:type database_name: str
:param parameters: Specifies which key to regenerate.
- :type parameters: ~azure.mgmt.redisenterprise.models.RegenerateKeyParameters
+ :type parameters: ~redis_enterprise_management_client.models.RegenerateKeyParameters
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: True for ARMPolling, False for no polling, or a
@@ -713,7 +713,7 @@ async def begin_regenerate_key(
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either AccessKeys or the result of cls(response)
- :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.redisenterprise.models.AccessKeys]
+ :rtype: ~azure.core.polling.AsyncLROPoller[~redis_enterprise_management_client.models.AccessKeys]
:raises ~azure.core.exceptions.HttpResponseError:
"""
polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod]
@@ -744,7 +744,7 @@ def get_long_running_output(pipeline_response):
return deserialized
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'databaseName': self._serialize.url("database_name", database_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
@@ -777,14 +777,14 @@ async def _import_method_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"
# Construct URL
url = self._import_method_initial.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'databaseName': self._serialize.url("database_name", database_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
@@ -825,7 +825,7 @@ async def begin_import_method(
parameters: "models.ImportClusterParameters",
**kwargs
) -> AsyncLROPoller[None]:
- """Imports a database file to target database.
+ """Imports database files to target database.
:param resource_group_name: The name of the resource group. The name is case insensitive.
:type resource_group_name: str
@@ -834,7 +834,7 @@ async def begin_import_method(
:param database_name: The name of the database.
:type database_name: str
:param parameters: Storage information for importing into the cluster.
- :type parameters: ~azure.mgmt.redisenterprise.models.ImportClusterParameters
+ :type parameters: ~redis_enterprise_management_client.models.ImportClusterParameters
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: True for ARMPolling, False for no polling, or a
@@ -870,7 +870,7 @@ def get_long_running_output(pipeline_response):
return cls(pipeline_response, None, {})
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'databaseName': self._serialize.url("database_name", database_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
@@ -903,14 +903,14 @@ async def _export_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"
# Construct URL
url = self._export_initial.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'databaseName': self._serialize.url("database_name", database_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
@@ -960,7 +960,7 @@ async def begin_export(
:param database_name: The name of the database.
:type database_name: str
:param parameters: Storage information for exporting into the cluster.
- :type parameters: ~azure.mgmt.redisenterprise.models.ExportClusterParameters
+ :type parameters: ~redis_enterprise_management_client.models.ExportClusterParameters
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: True for ARMPolling, False for no polling, or a
@@ -996,7 +996,7 @@ def get_long_running_output(pipeline_response):
return cls(pipeline_response, None, {})
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'databaseName': self._serialize.url("database_name", database_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
diff --git a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/operations/_operations.py b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/operations/_operations.py
index d66303e4cde..3c13732c972 100644
--- a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/operations/_operations.py
+++ b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/operations/_operations.py
@@ -26,7 +26,7 @@ class Operations:
instantiates it for you and attaches it as an attribute.
:ivar models: Alias to model classes used in this operation group.
- :type models: ~azure.mgmt.redisenterprise.models
+ :type models: ~redis_enterprise_management_client.models
:param client: Client for service requests.
:param config: Configuration of service client.
:param serializer: An object model serializer.
@@ -49,7 +49,7 @@ def list(
:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either OperationListResult or the result of cls(response)
- :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.redisenterprise.models.OperationListResult]
+ :rtype: ~azure.core.async_paging.AsyncItemPaged[~redis_enterprise_management_client.models.OperationListResult]
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.OperationListResult"]
@@ -57,7 +57,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
accept = "application/json"
def prepare_request(next_link=None):
diff --git a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/operations/_operations_status_operations.py b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/operations/_operations_status_operations.py
index 02b019ef96e..f83d74d40b7 100644
--- a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/operations/_operations_status_operations.py
+++ b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/operations/_operations_status_operations.py
@@ -25,7 +25,7 @@ class OperationsStatusOperations:
instantiates it for you and attaches it as an attribute.
:ivar models: Alias to model classes used in this operation group.
- :type models: ~azure.mgmt.redisenterprise.models
+ :type models: ~redis_enterprise_management_client.models
:param client: Client for service requests.
:param config: Configuration of service client.
:param serializer: An object model serializer.
@@ -54,7 +54,7 @@ async def get(
:type operation_id: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: OperationStatus, or the result of cls(response)
- :rtype: ~azure.mgmt.redisenterprise.models.OperationStatus
+ :rtype: ~redis_enterprise_management_client.models.OperationStatus
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.OperationStatus"]
@@ -62,7 +62,7 @@ async def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
accept = "application/json"
# Construct URL
diff --git a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/operations/_private_endpoint_connections_operations.py b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/operations/_private_endpoint_connections_operations.py
index 27834293c11..13a2619e3c7 100644
--- a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/operations/_private_endpoint_connections_operations.py
+++ b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/operations/_private_endpoint_connections_operations.py
@@ -28,7 +28,7 @@ class PrivateEndpointConnectionsOperations:
instantiates it for you and attaches it as an attribute.
:ivar models: Alias to model classes used in this operation group.
- :type models: ~azure.mgmt.redisenterprise.models
+ :type models: ~redis_enterprise_management_client.models
:param client: Client for service requests.
:param config: Configuration of service client.
:param serializer: An object model serializer.
@@ -57,7 +57,7 @@ def list(
:type cluster_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either PrivateEndpointConnectionListResult or the result of cls(response)
- :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.redisenterprise.models.PrivateEndpointConnectionListResult]
+ :rtype: ~azure.core.async_paging.AsyncItemPaged[~redis_enterprise_management_client.models.PrivateEndpointConnectionListResult]
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnectionListResult"]
@@ -65,7 +65,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
accept = "application/json"
def prepare_request(next_link=None):
@@ -77,7 +77,7 @@ def prepare_request(next_link=None):
# Construct URL
url = self.list.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
}
@@ -136,7 +136,7 @@ async def get(
:type private_endpoint_connection_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: PrivateEndpointConnection, or the result of cls(response)
- :rtype: ~azure.mgmt.redisenterprise.models.PrivateEndpointConnection
+ :rtype: ~redis_enterprise_management_client.models.PrivateEndpointConnection
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnection"]
@@ -144,13 +144,13 @@ async def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
accept = "application/json"
# Construct URL
url = self.get.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
@@ -195,14 +195,14 @@ async def _put_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"
# Construct URL
url = self._put_initial.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'),
@@ -257,7 +257,7 @@ async def begin_put(
with the Azure resource.
:type private_endpoint_connection_name: str
:param properties: The private endpoint connection properties.
- :type properties: ~azure.mgmt.redisenterprise.models.PrivateEndpointConnection
+ :type properties: ~redis_enterprise_management_client.models.PrivateEndpointConnection
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: True for ARMPolling, False for no polling, or a
@@ -265,7 +265,7 @@ async def begin_put(
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either PrivateEndpointConnection or the result of cls(response)
- :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.redisenterprise.models.PrivateEndpointConnection]
+ :rtype: ~azure.core.polling.AsyncLROPoller[~redis_enterprise_management_client.models.PrivateEndpointConnection]
:raises ~azure.core.exceptions.HttpResponseError:
"""
polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod]
@@ -296,7 +296,7 @@ def get_long_running_output(pipeline_response):
return deserialized
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'),
@@ -342,13 +342,13 @@ async def delete(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
accept = "application/json"
# Construct URL
url = self.delete.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'),
diff --git a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/operations/_private_link_resources_operations.py b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/operations/_private_link_resources_operations.py
index eb7b0d44174..34713eb73f7 100644
--- a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/operations/_private_link_resources_operations.py
+++ b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/operations/_private_link_resources_operations.py
@@ -26,7 +26,7 @@ class PrivateLinkResourcesOperations:
instantiates it for you and attaches it as an attribute.
:ivar models: Alias to model classes used in this operation group.
- :type models: ~azure.mgmt.redisenterprise.models
+ :type models: ~redis_enterprise_management_client.models
:param client: Client for service requests.
:param config: Configuration of service client.
:param serializer: An object model serializer.
@@ -55,7 +55,7 @@ def list_by_cluster(
:type cluster_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either PrivateLinkResourceListResult or the result of cls(response)
- :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.redisenterprise.models.PrivateLinkResourceListResult]
+ :rtype: ~azure.core.async_paging.AsyncItemPaged[~redis_enterprise_management_client.models.PrivateLinkResourceListResult]
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateLinkResourceListResult"]
@@ -63,7 +63,7 @@ def list_by_cluster(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
accept = "application/json"
def prepare_request(next_link=None):
@@ -75,7 +75,7 @@ def prepare_request(next_link=None):
# Construct URL
url = self.list_by_cluster.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
}
diff --git a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/operations/_redis_enterprise_operations.py b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/operations/_redis_enterprise_operations.py
index 3f098b75a03..84598adc4fc 100644
--- a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/operations/_redis_enterprise_operations.py
+++ b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/aio/operations/_redis_enterprise_operations.py
@@ -28,7 +28,7 @@ class RedisEnterpriseOperations:
instantiates it for you and attaches it as an attribute.
:ivar models: Alias to model classes used in this operation group.
- :type models: ~azure.mgmt.redisenterprise.models
+ :type models: ~redis_enterprise_management_client.models
:param client: Client for service requests.
:param config: Configuration of service client.
:param serializer: An object model serializer.
@@ -55,14 +55,14 @@ async def _create_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"
# Construct URL
url = self._create_initial.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
}
@@ -115,7 +115,7 @@ async def begin_create(
:param cluster_name: The name of the RedisEnterprise cluster.
:type cluster_name: str
:param parameters: Parameters supplied to the Create RedisEnterprise operation.
- :type parameters: ~azure.mgmt.redisenterprise.models.Cluster
+ :type parameters: ~redis_enterprise_management_client.models.Cluster
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: True for ARMPolling, False for no polling, or a
@@ -123,7 +123,7 @@ async def begin_create(
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either Cluster or the result of cls(response)
- :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.redisenterprise.models.Cluster]
+ :rtype: ~azure.core.polling.AsyncLROPoller[~redis_enterprise_management_client.models.Cluster]
:raises ~azure.core.exceptions.HttpResponseError:
"""
polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod]
@@ -153,7 +153,7 @@ def get_long_running_output(pipeline_response):
return deserialized
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
}
@@ -184,14 +184,14 @@ async def _update_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"
# Construct URL
url = self._update_initial.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
}
@@ -242,7 +242,7 @@ async def begin_update(
:param cluster_name: The name of the RedisEnterprise cluster.
:type cluster_name: str
:param parameters: Parameters supplied to the Update RedisEnterprise operation.
- :type parameters: ~azure.mgmt.redisenterprise.models.ClusterUpdate
+ :type parameters: ~redis_enterprise_management_client.models.ClusterUpdate
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: True for ARMPolling, False for no polling, or a
@@ -250,7 +250,7 @@ async def begin_update(
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either Cluster or the result of cls(response)
- :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.redisenterprise.models.Cluster]
+ :rtype: ~azure.core.polling.AsyncLROPoller[~redis_enterprise_management_client.models.Cluster]
:raises ~azure.core.exceptions.HttpResponseError:
"""
polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod]
@@ -280,7 +280,7 @@ def get_long_running_output(pipeline_response):
return deserialized
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
}
@@ -310,13 +310,13 @@ async def _delete_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
accept = "application/json"
# Construct URL
url = self._delete_initial.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
}
@@ -389,7 +389,7 @@ def get_long_running_output(pipeline_response):
return cls(pipeline_response, None, {})
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
}
@@ -422,7 +422,7 @@ async def get(
:type cluster_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: Cluster, or the result of cls(response)
- :rtype: ~azure.mgmt.redisenterprise.models.Cluster
+ :rtype: ~redis_enterprise_management_client.models.Cluster
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.Cluster"]
@@ -430,13 +430,13 @@ async def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
accept = "application/json"
# Construct URL
url = self.get.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
}
@@ -478,7 +478,7 @@ def list_by_resource_group(
:type resource_group_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either ClusterList or the result of cls(response)
- :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.redisenterprise.models.ClusterList]
+ :rtype: ~azure.core.async_paging.AsyncItemPaged[~redis_enterprise_management_client.models.ClusterList]
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.ClusterList"]
@@ -486,7 +486,7 @@ def list_by_resource_group(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
accept = "application/json"
def prepare_request(next_link=None):
@@ -498,7 +498,7 @@ def prepare_request(next_link=None):
# Construct URL
url = self.list_by_resource_group.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -546,7 +546,7 @@ def list(
:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either ClusterList or the result of cls(response)
- :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.redisenterprise.models.ClusterList]
+ :rtype: ~azure.core.async_paging.AsyncItemPaged[~redis_enterprise_management_client.models.ClusterList]
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.ClusterList"]
@@ -554,7 +554,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
accept = "application/json"
def prepare_request(next_link=None):
diff --git a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/models/_models.py b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/models/_models.py
index 43947f741b6..d581dca385f 100644
--- a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/models/_models.py
+++ b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/models/_models.py
@@ -142,27 +142,28 @@ class Cluster(TrackedResource):
:param location: Required. The geo-location where the resource lives.
:type location: str
:param sku: Required. The SKU to create, which affects price, performance, and features.
- :type sku: ~azure.mgmt.redisenterprise.models.Sku
+ :type sku: ~redis_enterprise_management_client.models.Sku
:param zones: The Availability Zones where this cluster will be deployed.
:type zones: list[str]
:param minimum_tls_version: The minimum TLS version for the cluster to support, e.g. '1.2'.
Possible values include: "1.0", "1.1", "1.2".
- :type minimum_tls_version: str or ~azure.mgmt.redisenterprise.models.TlsVersion
+ :type minimum_tls_version: str or ~redis_enterprise_management_client.models.TlsVersion
:ivar host_name: DNS name of the cluster endpoint.
:vartype host_name: str
:ivar provisioning_state: Current provisioning status of the cluster. Possible values include:
"Succeeded", "Failed", "Canceled", "Creating", "Updating", "Deleting".
- :vartype provisioning_state: str or ~azure.mgmt.redisenterprise.models.ProvisioningState
+ :vartype provisioning_state: str or
+ ~redis_enterprise_management_client.models.ProvisioningState
:ivar resource_state: Current resource status of the cluster. Possible values include:
"Running", "Creating", "CreateFailed", "Updating", "UpdateFailed", "Deleting", "DeleteFailed",
"Enabling", "EnableFailed", "Disabling", "DisableFailed", "Disabled".
- :vartype resource_state: str or ~azure.mgmt.redisenterprise.models.ResourceState
+ :vartype resource_state: str or ~redis_enterprise_management_client.models.ResourceState
:ivar redis_version: Version of redis the cluster supports, e.g. '6'.
:vartype redis_version: str
:ivar private_endpoint_connections: List of private endpoint connections associated with the
specified RedisEnterprise cluster.
:vartype private_endpoint_connections:
- list[~azure.mgmt.redisenterprise.models.PrivateEndpointConnection]
+ list[~redis_enterprise_management_client.models.PrivateEndpointConnection]
"""
_validation = {
@@ -215,7 +216,7 @@ class ClusterList(msrest.serialization.Model):
Variables are only populated by the server, and will be ignored when sending a request.
:param value: List of clusters.
- :type value: list[~azure.mgmt.redisenterprise.models.Cluster]
+ :type value: list[~redis_enterprise_management_client.models.Cluster]
:ivar next_link: The URI to fetch the next page of results.
:vartype next_link: str
"""
@@ -244,27 +245,28 @@ class ClusterUpdate(msrest.serialization.Model):
Variables are only populated by the server, and will be ignored when sending a request.
:param sku: The SKU to create, which affects price, performance, and features.
- :type sku: ~azure.mgmt.redisenterprise.models.Sku
+ :type sku: ~redis_enterprise_management_client.models.Sku
:param tags: A set of tags. Resource tags.
:type tags: dict[str, str]
:param minimum_tls_version: The minimum TLS version for the cluster to support, e.g. '1.2'.
Possible values include: "1.0", "1.1", "1.2".
- :type minimum_tls_version: str or ~azure.mgmt.redisenterprise.models.TlsVersion
+ :type minimum_tls_version: str or ~redis_enterprise_management_client.models.TlsVersion
:ivar host_name: DNS name of the cluster endpoint.
:vartype host_name: str
:ivar provisioning_state: Current provisioning status of the cluster. Possible values include:
"Succeeded", "Failed", "Canceled", "Creating", "Updating", "Deleting".
- :vartype provisioning_state: str or ~azure.mgmt.redisenterprise.models.ProvisioningState
+ :vartype provisioning_state: str or
+ ~redis_enterprise_management_client.models.ProvisioningState
:ivar resource_state: Current resource status of the cluster. Possible values include:
"Running", "Creating", "CreateFailed", "Updating", "UpdateFailed", "Deleting", "DeleteFailed",
"Enabling", "EnableFailed", "Disabling", "DisableFailed", "Disabled".
- :vartype resource_state: str or ~azure.mgmt.redisenterprise.models.ResourceState
+ :vartype resource_state: str or ~redis_enterprise_management_client.models.ResourceState
:ivar redis_version: Version of redis the cluster supports, e.g. '6'.
:vartype redis_version: str
:ivar private_endpoint_connections: List of private endpoint connections associated with the
specified RedisEnterprise cluster.
:vartype private_endpoint_connections:
- list[~azure.mgmt.redisenterprise.models.PrivateEndpointConnection]
+ list[~redis_enterprise_management_client.models.PrivateEndpointConnection]
"""
_validation = {
@@ -317,29 +319,30 @@ class Database(Resource):
:param client_protocol: Specifies whether redis clients can connect using TLS-encrypted or
plaintext redis protocols. Default is TLS-encrypted. Possible values include: "Encrypted",
"Plaintext".
- :type client_protocol: str or ~azure.mgmt.redisenterprise.models.Protocol
+ :type client_protocol: str or ~redis_enterprise_management_client.models.Protocol
:param port: TCP port of the database endpoint. Specified at create time. Defaults to an
available port.
:type port: int
:ivar provisioning_state: Current provisioning status of the database. Possible values include:
"Succeeded", "Failed", "Canceled", "Creating", "Updating", "Deleting".
- :vartype provisioning_state: str or ~azure.mgmt.redisenterprise.models.ProvisioningState
+ :vartype provisioning_state: str or
+ ~redis_enterprise_management_client.models.ProvisioningState
:ivar resource_state: Current resource status of the database. Possible values include:
"Running", "Creating", "CreateFailed", "Updating", "UpdateFailed", "Deleting", "DeleteFailed",
"Enabling", "EnableFailed", "Disabling", "DisableFailed", "Disabled".
- :vartype resource_state: str or ~azure.mgmt.redisenterprise.models.ResourceState
+ :vartype resource_state: str or ~redis_enterprise_management_client.models.ResourceState
:param clustering_policy: Clustering policy - default is OSSCluster. Specified at create time.
Possible values include: "EnterpriseCluster", "OSSCluster".
- :type clustering_policy: str or ~azure.mgmt.redisenterprise.models.ClusteringPolicy
+ :type clustering_policy: str or ~redis_enterprise_management_client.models.ClusteringPolicy
:param eviction_policy: Redis eviction policy - default is VolatileLRU. Possible values
include: "AllKeysLFU", "AllKeysLRU", "AllKeysRandom", "VolatileLRU", "VolatileLFU",
"VolatileTTL", "VolatileRandom", "NoEviction".
- :type eviction_policy: str or ~azure.mgmt.redisenterprise.models.EvictionPolicy
+ :type eviction_policy: str or ~redis_enterprise_management_client.models.EvictionPolicy
:param persistence: Persistence settings.
- :type persistence: ~azure.mgmt.redisenterprise.models.Persistence
+ :type persistence: ~redis_enterprise_management_client.models.Persistence
:param modules: Optional set of redis modules to enable in this database - modules can only be
added at creation time.
- :type modules: list[~azure.mgmt.redisenterprise.models.Module]
+ :type modules: list[~redis_enterprise_management_client.models.Module]
"""
_validation = {
@@ -385,7 +388,7 @@ class DatabaseList(msrest.serialization.Model):
Variables are only populated by the server, and will be ignored when sending a request.
:param value: List of databases.
- :type value: list[~azure.mgmt.redisenterprise.models.Database]
+ :type value: list[~redis_enterprise_management_client.models.Database]
:ivar next_link: The URI to fetch the next page of results.
:vartype next_link: str
"""
@@ -416,29 +419,30 @@ class DatabaseUpdate(msrest.serialization.Model):
:param client_protocol: Specifies whether redis clients can connect using TLS-encrypted or
plaintext redis protocols. Default is TLS-encrypted. Possible values include: "Encrypted",
"Plaintext".
- :type client_protocol: str or ~azure.mgmt.redisenterprise.models.Protocol
+ :type client_protocol: str or ~redis_enterprise_management_client.models.Protocol
:param port: TCP port of the database endpoint. Specified at create time. Defaults to an
available port.
:type port: int
:ivar provisioning_state: Current provisioning status of the database. Possible values include:
"Succeeded", "Failed", "Canceled", "Creating", "Updating", "Deleting".
- :vartype provisioning_state: str or ~azure.mgmt.redisenterprise.models.ProvisioningState
+ :vartype provisioning_state: str or
+ ~redis_enterprise_management_client.models.ProvisioningState
:ivar resource_state: Current resource status of the database. Possible values include:
"Running", "Creating", "CreateFailed", "Updating", "UpdateFailed", "Deleting", "DeleteFailed",
"Enabling", "EnableFailed", "Disabling", "DisableFailed", "Disabled".
- :vartype resource_state: str or ~azure.mgmt.redisenterprise.models.ResourceState
+ :vartype resource_state: str or ~redis_enterprise_management_client.models.ResourceState
:param clustering_policy: Clustering policy - default is OSSCluster. Specified at create time.
Possible values include: "EnterpriseCluster", "OSSCluster".
- :type clustering_policy: str or ~azure.mgmt.redisenterprise.models.ClusteringPolicy
+ :type clustering_policy: str or ~redis_enterprise_management_client.models.ClusteringPolicy
:param eviction_policy: Redis eviction policy - default is VolatileLRU. Possible values
include: "AllKeysLFU", "AllKeysLRU", "AllKeysRandom", "VolatileLRU", "VolatileLFU",
"VolatileTTL", "VolatileRandom", "NoEviction".
- :type eviction_policy: str or ~azure.mgmt.redisenterprise.models.EvictionPolicy
+ :type eviction_policy: str or ~redis_enterprise_management_client.models.EvictionPolicy
:param persistence: Persistence settings.
- :type persistence: ~azure.mgmt.redisenterprise.models.Persistence
+ :type persistence: ~redis_enterprise_management_client.models.Persistence
:param modules: Optional set of redis modules to enable in this database - modules can only be
added at creation time.
- :type modules: list[~azure.mgmt.redisenterprise.models.Module]
+ :type modules: list[~redis_enterprise_management_client.models.Module]
"""
_validation = {
@@ -514,9 +518,9 @@ class ErrorDetail(msrest.serialization.Model):
:ivar target: The error target.
:vartype target: str
:ivar details: The error details.
- :vartype details: list[~azure.mgmt.redisenterprise.models.ErrorDetail]
+ :vartype details: list[~redis_enterprise_management_client.models.ErrorDetail]
:ivar additional_info: The error additional info.
- :vartype additional_info: list[~azure.mgmt.redisenterprise.models.ErrorAdditionalInfo]
+ :vartype additional_info: list[~redis_enterprise_management_client.models.ErrorAdditionalInfo]
"""
_validation = {
@@ -551,7 +555,7 @@ class ErrorResponse(msrest.serialization.Model):
"""Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
:param error: The error object.
- :type error: ~azure.mgmt.redisenterprise.models.ErrorDetail
+ :type error: ~redis_enterprise_management_client.models.ErrorDetail
"""
_attribute_map = {
@@ -596,16 +600,16 @@ class ImportClusterParameters(msrest.serialization.Model):
All required parameters must be populated in order to send to Azure.
- :param sas_uri: Required. SAS URI for the target blob to import from.
- :type sas_uri: str
+ :param sas_uris: Required. SAS URIs for the target blobs to import from.
+ :type sas_uris: list[str]
"""
_validation = {
- 'sas_uri': {'required': True},
+ 'sas_uris': {'required': True},
}
_attribute_map = {
- 'sas_uri': {'key': 'sasUri', 'type': 'str'},
+ 'sas_uris': {'key': 'sasUris', 'type': '[str]'},
}
def __init__(
@@ -613,7 +617,7 @@ def __init__(
**kwargs
):
super(ImportClusterParameters, self).__init__(**kwargs)
- self.sas_uri = kwargs['sas_uri']
+ self.sas_uris = kwargs['sas_uris']
class Module(msrest.serialization.Model):
@@ -665,14 +669,14 @@ class Operation(msrest.serialization.Model):
plane operations and "false" for ARM/control-plane operations.
:vartype is_data_action: bool
:param display: Localized display information for this particular operation.
- :type display: ~azure.mgmt.redisenterprise.models.OperationDisplay
+ :type display: ~redis_enterprise_management_client.models.OperationDisplay
:ivar origin: The intended executor of the operation; as in Resource Based Access Control
(RBAC) and audit logs UX. Default value is "user,system". Possible values include: "user",
"system", "user,system".
- :vartype origin: str or ~azure.mgmt.redisenterprise.models.Origin
+ :vartype origin: str or ~redis_enterprise_management_client.models.Origin
:ivar action_type: Enum. Indicates the action type. "Internal" refers to actions that are for
internal only APIs. Possible values include: "Internal".
- :vartype action_type: str or ~azure.mgmt.redisenterprise.models.ActionType
+ :vartype action_type: str or ~redis_enterprise_management_client.models.ActionType
"""
_validation = {
@@ -752,7 +756,7 @@ class OperationListResult(msrest.serialization.Model):
Variables are only populated by the server, and will be ignored when sending a request.
:ivar value: List of operations supported by the resource provider.
- :vartype value: list[~azure.mgmt.redisenterprise.models.Operation]
+ :vartype value: list[~redis_enterprise_management_client.models.Operation]
:ivar next_link: URL to get the next set of operation list results (if there are any).
:vartype next_link: str
"""
@@ -790,7 +794,7 @@ class OperationStatus(msrest.serialization.Model):
:param status: The current status of the operation.
:type status: str
:param error: Error response describing why the operation failed.
- :type error: ~azure.mgmt.redisenterprise.models.ErrorResponse
+ :type error: ~redis_enterprise_management_client.models.ErrorResponse
"""
_attribute_map = {
@@ -824,10 +828,10 @@ class Persistence(msrest.serialization.Model):
:type rdb_enabled: bool
:param aof_frequency: Sets the frequency at which data is written to disk. Possible values
include: "1s", "always".
- :type aof_frequency: str or ~azure.mgmt.redisenterprise.models.AofFrequency
+ :type aof_frequency: str or ~redis_enterprise_management_client.models.AofFrequency
:param rdb_frequency: Sets the frequency at which a snapshot of the database is created.
Possible values include: "1h", "6h", "12h".
- :type rdb_frequency: str or ~azure.mgmt.redisenterprise.models.RdbFrequency
+ :type rdb_frequency: str or ~redis_enterprise_management_client.models.RdbFrequency
"""
_attribute_map = {
@@ -887,15 +891,15 @@ class PrivateEndpointConnection(Resource):
"Microsoft.Storage/storageAccounts".
:vartype type: str
:param private_endpoint: The resource of private end point.
- :type private_endpoint: ~azure.mgmt.redisenterprise.models.PrivateEndpoint
+ :type private_endpoint: ~redis_enterprise_management_client.models.PrivateEndpoint
:param private_link_service_connection_state: A collection of information about the state of
the connection between service consumer and provider.
:type private_link_service_connection_state:
- ~azure.mgmt.redisenterprise.models.PrivateLinkServiceConnectionState
+ ~redis_enterprise_management_client.models.PrivateLinkServiceConnectionState
:ivar provisioning_state: The provisioning state of the private endpoint connection resource.
Possible values include: "Succeeded", "Creating", "Deleting", "Failed".
:vartype provisioning_state: str or
- ~azure.mgmt.redisenterprise.models.PrivateEndpointConnectionProvisioningState
+ ~redis_enterprise_management_client.models.PrivateEndpointConnectionProvisioningState
"""
_validation = {
@@ -928,7 +932,7 @@ class PrivateEndpointConnectionListResult(msrest.serialization.Model):
"""List of private endpoint connection associated with the specified storage account.
:param value: Array of private endpoint connections.
- :type value: list[~azure.mgmt.redisenterprise.models.PrivateEndpointConnection]
+ :type value: list[~redis_enterprise_management_client.models.PrivateEndpointConnection]
"""
_attribute_map = {
@@ -995,7 +999,7 @@ class PrivateLinkResourceListResult(msrest.serialization.Model):
"""A list of private link resources.
:param value: Array of private link resources.
- :type value: list[~azure.mgmt.redisenterprise.models.PrivateLinkResource]
+ :type value: list[~redis_enterprise_management_client.models.PrivateLinkResource]
"""
_attribute_map = {
@@ -1015,7 +1019,8 @@ class PrivateLinkServiceConnectionState(msrest.serialization.Model):
:param status: Indicates whether the connection has been Approved/Rejected/Removed by the owner
of the service. Possible values include: "Pending", "Approved", "Rejected".
- :type status: str or ~azure.mgmt.redisenterprise.models.PrivateEndpointServiceConnectionStatus
+ :type status: str or
+ ~redis_enterprise_management_client.models.PrivateEndpointServiceConnectionStatus
:param description: The reason for approval/rejection of the connection.
:type description: str
:param actions_required: A message indicating if changes on the service provider require any
@@ -1080,7 +1085,7 @@ class RegenerateKeyParameters(msrest.serialization.Model):
:param key_type: Required. Which access key to regenerate. Possible values include: "Primary",
"Secondary".
- :type key_type: str or ~azure.mgmt.redisenterprise.models.AccessKeyType
+ :type key_type: str or ~redis_enterprise_management_client.models.AccessKeyType
"""
_validation = {
@@ -1108,7 +1113,7 @@ class Sku(msrest.serialization.Model):
(Enterprise_E10, EnterpriseFlash_F300 etc.). Possible values include: "Enterprise_E10",
"Enterprise_E20", "Enterprise_E50", "Enterprise_E100", "EnterpriseFlash_F300",
"EnterpriseFlash_F700", "EnterpriseFlash_F1500".
- :type name: str or ~azure.mgmt.redisenterprise.models.SkuName
+ :type name: str or ~redis_enterprise_management_client.models.SkuName
:param capacity: The size of the RedisEnterprise cluster. Defaults to 2 or 3 depending on SKU.
Valid values are (2, 4, 6, ...) for Enterprise SKUs and (3, 9, 15, ...) for Flash SKUs.
:type capacity: int
diff --git a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/models/_models_py3.py b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/models/_models_py3.py
index 701f2e49726..4f24627bebe 100644
--- a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/models/_models_py3.py
+++ b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/models/_models_py3.py
@@ -149,27 +149,28 @@ class Cluster(TrackedResource):
:param location: Required. The geo-location where the resource lives.
:type location: str
:param sku: Required. The SKU to create, which affects price, performance, and features.
- :type sku: ~azure.mgmt.redisenterprise.models.Sku
+ :type sku: ~redis_enterprise_management_client.models.Sku
:param zones: The Availability Zones where this cluster will be deployed.
:type zones: list[str]
:param minimum_tls_version: The minimum TLS version for the cluster to support, e.g. '1.2'.
Possible values include: "1.0", "1.1", "1.2".
- :type minimum_tls_version: str or ~azure.mgmt.redisenterprise.models.TlsVersion
+ :type minimum_tls_version: str or ~redis_enterprise_management_client.models.TlsVersion
:ivar host_name: DNS name of the cluster endpoint.
:vartype host_name: str
:ivar provisioning_state: Current provisioning status of the cluster. Possible values include:
"Succeeded", "Failed", "Canceled", "Creating", "Updating", "Deleting".
- :vartype provisioning_state: str or ~azure.mgmt.redisenterprise.models.ProvisioningState
+ :vartype provisioning_state: str or
+ ~redis_enterprise_management_client.models.ProvisioningState
:ivar resource_state: Current resource status of the cluster. Possible values include:
"Running", "Creating", "CreateFailed", "Updating", "UpdateFailed", "Deleting", "DeleteFailed",
"Enabling", "EnableFailed", "Disabling", "DisableFailed", "Disabled".
- :vartype resource_state: str or ~azure.mgmt.redisenterprise.models.ResourceState
+ :vartype resource_state: str or ~redis_enterprise_management_client.models.ResourceState
:ivar redis_version: Version of redis the cluster supports, e.g. '6'.
:vartype redis_version: str
:ivar private_endpoint_connections: List of private endpoint connections associated with the
specified RedisEnterprise cluster.
:vartype private_endpoint_connections:
- list[~azure.mgmt.redisenterprise.models.PrivateEndpointConnection]
+ list[~redis_enterprise_management_client.models.PrivateEndpointConnection]
"""
_validation = {
@@ -228,7 +229,7 @@ class ClusterList(msrest.serialization.Model):
Variables are only populated by the server, and will be ignored when sending a request.
:param value: List of clusters.
- :type value: list[~azure.mgmt.redisenterprise.models.Cluster]
+ :type value: list[~redis_enterprise_management_client.models.Cluster]
:ivar next_link: The URI to fetch the next page of results.
:vartype next_link: str
"""
@@ -259,27 +260,28 @@ class ClusterUpdate(msrest.serialization.Model):
Variables are only populated by the server, and will be ignored when sending a request.
:param sku: The SKU to create, which affects price, performance, and features.
- :type sku: ~azure.mgmt.redisenterprise.models.Sku
+ :type sku: ~redis_enterprise_management_client.models.Sku
:param tags: A set of tags. Resource tags.
:type tags: dict[str, str]
:param minimum_tls_version: The minimum TLS version for the cluster to support, e.g. '1.2'.
Possible values include: "1.0", "1.1", "1.2".
- :type minimum_tls_version: str or ~azure.mgmt.redisenterprise.models.TlsVersion
+ :type minimum_tls_version: str or ~redis_enterprise_management_client.models.TlsVersion
:ivar host_name: DNS name of the cluster endpoint.
:vartype host_name: str
:ivar provisioning_state: Current provisioning status of the cluster. Possible values include:
"Succeeded", "Failed", "Canceled", "Creating", "Updating", "Deleting".
- :vartype provisioning_state: str or ~azure.mgmt.redisenterprise.models.ProvisioningState
+ :vartype provisioning_state: str or
+ ~redis_enterprise_management_client.models.ProvisioningState
:ivar resource_state: Current resource status of the cluster. Possible values include:
"Running", "Creating", "CreateFailed", "Updating", "UpdateFailed", "Deleting", "DeleteFailed",
"Enabling", "EnableFailed", "Disabling", "DisableFailed", "Disabled".
- :vartype resource_state: str or ~azure.mgmt.redisenterprise.models.ResourceState
+ :vartype resource_state: str or ~redis_enterprise_management_client.models.ResourceState
:ivar redis_version: Version of redis the cluster supports, e.g. '6'.
:vartype redis_version: str
:ivar private_endpoint_connections: List of private endpoint connections associated with the
specified RedisEnterprise cluster.
:vartype private_endpoint_connections:
- list[~azure.mgmt.redisenterprise.models.PrivateEndpointConnection]
+ list[~redis_enterprise_management_client.models.PrivateEndpointConnection]
"""
_validation = {
@@ -336,29 +338,30 @@ class Database(Resource):
:param client_protocol: Specifies whether redis clients can connect using TLS-encrypted or
plaintext redis protocols. Default is TLS-encrypted. Possible values include: "Encrypted",
"Plaintext".
- :type client_protocol: str or ~azure.mgmt.redisenterprise.models.Protocol
+ :type client_protocol: str or ~redis_enterprise_management_client.models.Protocol
:param port: TCP port of the database endpoint. Specified at create time. Defaults to an
available port.
:type port: int
:ivar provisioning_state: Current provisioning status of the database. Possible values include:
"Succeeded", "Failed", "Canceled", "Creating", "Updating", "Deleting".
- :vartype provisioning_state: str or ~azure.mgmt.redisenterprise.models.ProvisioningState
+ :vartype provisioning_state: str or
+ ~redis_enterprise_management_client.models.ProvisioningState
:ivar resource_state: Current resource status of the database. Possible values include:
"Running", "Creating", "CreateFailed", "Updating", "UpdateFailed", "Deleting", "DeleteFailed",
"Enabling", "EnableFailed", "Disabling", "DisableFailed", "Disabled".
- :vartype resource_state: str or ~azure.mgmt.redisenterprise.models.ResourceState
+ :vartype resource_state: str or ~redis_enterprise_management_client.models.ResourceState
:param clustering_policy: Clustering policy - default is OSSCluster. Specified at create time.
Possible values include: "EnterpriseCluster", "OSSCluster".
- :type clustering_policy: str or ~azure.mgmt.redisenterprise.models.ClusteringPolicy
+ :type clustering_policy: str or ~redis_enterprise_management_client.models.ClusteringPolicy
:param eviction_policy: Redis eviction policy - default is VolatileLRU. Possible values
include: "AllKeysLFU", "AllKeysLRU", "AllKeysRandom", "VolatileLRU", "VolatileLFU",
"VolatileTTL", "VolatileRandom", "NoEviction".
- :type eviction_policy: str or ~azure.mgmt.redisenterprise.models.EvictionPolicy
+ :type eviction_policy: str or ~redis_enterprise_management_client.models.EvictionPolicy
:param persistence: Persistence settings.
- :type persistence: ~azure.mgmt.redisenterprise.models.Persistence
+ :type persistence: ~redis_enterprise_management_client.models.Persistence
:param modules: Optional set of redis modules to enable in this database - modules can only be
added at creation time.
- :type modules: list[~azure.mgmt.redisenterprise.models.Module]
+ :type modules: list[~redis_enterprise_management_client.models.Module]
"""
_validation = {
@@ -411,7 +414,7 @@ class DatabaseList(msrest.serialization.Model):
Variables are only populated by the server, and will be ignored when sending a request.
:param value: List of databases.
- :type value: list[~azure.mgmt.redisenterprise.models.Database]
+ :type value: list[~redis_enterprise_management_client.models.Database]
:ivar next_link: The URI to fetch the next page of results.
:vartype next_link: str
"""
@@ -444,29 +447,30 @@ class DatabaseUpdate(msrest.serialization.Model):
:param client_protocol: Specifies whether redis clients can connect using TLS-encrypted or
plaintext redis protocols. Default is TLS-encrypted. Possible values include: "Encrypted",
"Plaintext".
- :type client_protocol: str or ~azure.mgmt.redisenterprise.models.Protocol
+ :type client_protocol: str or ~redis_enterprise_management_client.models.Protocol
:param port: TCP port of the database endpoint. Specified at create time. Defaults to an
available port.
:type port: int
:ivar provisioning_state: Current provisioning status of the database. Possible values include:
"Succeeded", "Failed", "Canceled", "Creating", "Updating", "Deleting".
- :vartype provisioning_state: str or ~azure.mgmt.redisenterprise.models.ProvisioningState
+ :vartype provisioning_state: str or
+ ~redis_enterprise_management_client.models.ProvisioningState
:ivar resource_state: Current resource status of the database. Possible values include:
"Running", "Creating", "CreateFailed", "Updating", "UpdateFailed", "Deleting", "DeleteFailed",
"Enabling", "EnableFailed", "Disabling", "DisableFailed", "Disabled".
- :vartype resource_state: str or ~azure.mgmt.redisenterprise.models.ResourceState
+ :vartype resource_state: str or ~redis_enterprise_management_client.models.ResourceState
:param clustering_policy: Clustering policy - default is OSSCluster. Specified at create time.
Possible values include: "EnterpriseCluster", "OSSCluster".
- :type clustering_policy: str or ~azure.mgmt.redisenterprise.models.ClusteringPolicy
+ :type clustering_policy: str or ~redis_enterprise_management_client.models.ClusteringPolicy
:param eviction_policy: Redis eviction policy - default is VolatileLRU. Possible values
include: "AllKeysLFU", "AllKeysLRU", "AllKeysRandom", "VolatileLRU", "VolatileLFU",
"VolatileTTL", "VolatileRandom", "NoEviction".
- :type eviction_policy: str or ~azure.mgmt.redisenterprise.models.EvictionPolicy
+ :type eviction_policy: str or ~redis_enterprise_management_client.models.EvictionPolicy
:param persistence: Persistence settings.
- :type persistence: ~azure.mgmt.redisenterprise.models.Persistence
+ :type persistence: ~redis_enterprise_management_client.models.Persistence
:param modules: Optional set of redis modules to enable in this database - modules can only be
added at creation time.
- :type modules: list[~azure.mgmt.redisenterprise.models.Module]
+ :type modules: list[~redis_enterprise_management_client.models.Module]
"""
_validation = {
@@ -549,9 +553,9 @@ class ErrorDetail(msrest.serialization.Model):
:ivar target: The error target.
:vartype target: str
:ivar details: The error details.
- :vartype details: list[~azure.mgmt.redisenterprise.models.ErrorDetail]
+ :vartype details: list[~redis_enterprise_management_client.models.ErrorDetail]
:ivar additional_info: The error additional info.
- :vartype additional_info: list[~azure.mgmt.redisenterprise.models.ErrorAdditionalInfo]
+ :vartype additional_info: list[~redis_enterprise_management_client.models.ErrorAdditionalInfo]
"""
_validation = {
@@ -586,7 +590,7 @@ class ErrorResponse(msrest.serialization.Model):
"""Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
:param error: The error object.
- :type error: ~azure.mgmt.redisenterprise.models.ErrorDetail
+ :type error: ~redis_enterprise_management_client.models.ErrorDetail
"""
_attribute_map = {
@@ -635,26 +639,26 @@ class ImportClusterParameters(msrest.serialization.Model):
All required parameters must be populated in order to send to Azure.
- :param sas_uri: Required. SAS URI for the target blob to import from.
- :type sas_uri: str
+ :param sas_uris: Required. SAS URIs for the target blobs to import from.
+ :type sas_uris: list[str]
"""
_validation = {
- 'sas_uri': {'required': True},
+ 'sas_uris': {'required': True},
}
_attribute_map = {
- 'sas_uri': {'key': 'sasUri', 'type': 'str'},
+ 'sas_uris': {'key': 'sasUris', 'type': '[str]'},
}
def __init__(
self,
*,
- sas_uri: str,
+ sas_uris: List[str],
**kwargs
):
super(ImportClusterParameters, self).__init__(**kwargs)
- self.sas_uri = sas_uri
+ self.sas_uris = sas_uris
class Module(msrest.serialization.Model):
@@ -709,14 +713,14 @@ class Operation(msrest.serialization.Model):
plane operations and "false" for ARM/control-plane operations.
:vartype is_data_action: bool
:param display: Localized display information for this particular operation.
- :type display: ~azure.mgmt.redisenterprise.models.OperationDisplay
+ :type display: ~redis_enterprise_management_client.models.OperationDisplay
:ivar origin: The intended executor of the operation; as in Resource Based Access Control
(RBAC) and audit logs UX. Default value is "user,system". Possible values include: "user",
"system", "user,system".
- :vartype origin: str or ~azure.mgmt.redisenterprise.models.Origin
+ :vartype origin: str or ~redis_enterprise_management_client.models.Origin
:ivar action_type: Enum. Indicates the action type. "Internal" refers to actions that are for
internal only APIs. Possible values include: "Internal".
- :vartype action_type: str or ~azure.mgmt.redisenterprise.models.ActionType
+ :vartype action_type: str or ~redis_enterprise_management_client.models.ActionType
"""
_validation = {
@@ -798,7 +802,7 @@ class OperationListResult(msrest.serialization.Model):
Variables are only populated by the server, and will be ignored when sending a request.
:ivar value: List of operations supported by the resource provider.
- :vartype value: list[~azure.mgmt.redisenterprise.models.Operation]
+ :vartype value: list[~redis_enterprise_management_client.models.Operation]
:ivar next_link: URL to get the next set of operation list results (if there are any).
:vartype next_link: str
"""
@@ -836,7 +840,7 @@ class OperationStatus(msrest.serialization.Model):
:param status: The current status of the operation.
:type status: str
:param error: Error response describing why the operation failed.
- :type error: ~azure.mgmt.redisenterprise.models.ErrorResponse
+ :type error: ~redis_enterprise_management_client.models.ErrorResponse
"""
_attribute_map = {
@@ -877,10 +881,10 @@ class Persistence(msrest.serialization.Model):
:type rdb_enabled: bool
:param aof_frequency: Sets the frequency at which data is written to disk. Possible values
include: "1s", "always".
- :type aof_frequency: str or ~azure.mgmt.redisenterprise.models.AofFrequency
+ :type aof_frequency: str or ~redis_enterprise_management_client.models.AofFrequency
:param rdb_frequency: Sets the frequency at which a snapshot of the database is created.
Possible values include: "1h", "6h", "12h".
- :type rdb_frequency: str or ~azure.mgmt.redisenterprise.models.RdbFrequency
+ :type rdb_frequency: str or ~redis_enterprise_management_client.models.RdbFrequency
"""
_attribute_map = {
@@ -945,15 +949,15 @@ class PrivateEndpointConnection(Resource):
"Microsoft.Storage/storageAccounts".
:vartype type: str
:param private_endpoint: The resource of private end point.
- :type private_endpoint: ~azure.mgmt.redisenterprise.models.PrivateEndpoint
+ :type private_endpoint: ~redis_enterprise_management_client.models.PrivateEndpoint
:param private_link_service_connection_state: A collection of information about the state of
the connection between service consumer and provider.
:type private_link_service_connection_state:
- ~azure.mgmt.redisenterprise.models.PrivateLinkServiceConnectionState
+ ~redis_enterprise_management_client.models.PrivateLinkServiceConnectionState
:ivar provisioning_state: The provisioning state of the private endpoint connection resource.
Possible values include: "Succeeded", "Creating", "Deleting", "Failed".
:vartype provisioning_state: str or
- ~azure.mgmt.redisenterprise.models.PrivateEndpointConnectionProvisioningState
+ ~redis_enterprise_management_client.models.PrivateEndpointConnectionProvisioningState
"""
_validation = {
@@ -989,7 +993,7 @@ class PrivateEndpointConnectionListResult(msrest.serialization.Model):
"""List of private endpoint connection associated with the specified storage account.
:param value: Array of private endpoint connections.
- :type value: list[~azure.mgmt.redisenterprise.models.PrivateEndpointConnection]
+ :type value: list[~redis_enterprise_management_client.models.PrivateEndpointConnection]
"""
_attribute_map = {
@@ -1060,7 +1064,7 @@ class PrivateLinkResourceListResult(msrest.serialization.Model):
"""A list of private link resources.
:param value: Array of private link resources.
- :type value: list[~azure.mgmt.redisenterprise.models.PrivateLinkResource]
+ :type value: list[~redis_enterprise_management_client.models.PrivateLinkResource]
"""
_attribute_map = {
@@ -1082,7 +1086,8 @@ class PrivateLinkServiceConnectionState(msrest.serialization.Model):
:param status: Indicates whether the connection has been Approved/Rejected/Removed by the owner
of the service. Possible values include: "Pending", "Approved", "Rejected".
- :type status: str or ~azure.mgmt.redisenterprise.models.PrivateEndpointServiceConnectionStatus
+ :type status: str or
+ ~redis_enterprise_management_client.models.PrivateEndpointServiceConnectionStatus
:param description: The reason for approval/rejection of the connection.
:type description: str
:param actions_required: A message indicating if changes on the service provider require any
@@ -1151,7 +1156,7 @@ class RegenerateKeyParameters(msrest.serialization.Model):
:param key_type: Required. Which access key to regenerate. Possible values include: "Primary",
"Secondary".
- :type key_type: str or ~azure.mgmt.redisenterprise.models.AccessKeyType
+ :type key_type: str or ~redis_enterprise_management_client.models.AccessKeyType
"""
_validation = {
@@ -1181,7 +1186,7 @@ class Sku(msrest.serialization.Model):
(Enterprise_E10, EnterpriseFlash_F300 etc.). Possible values include: "Enterprise_E10",
"Enterprise_E20", "Enterprise_E50", "Enterprise_E100", "EnterpriseFlash_F300",
"EnterpriseFlash_F700", "EnterpriseFlash_F1500".
- :type name: str or ~azure.mgmt.redisenterprise.models.SkuName
+ :type name: str or ~redis_enterprise_management_client.models.SkuName
:param capacity: The size of the RedisEnterprise cluster. Defaults to 2 or 3 depending on SKU.
Valid values are (2, 4, 6, ...) for Enterprise SKUs and (3, 9, 15, ...) for Flash SKUs.
:type capacity: int
diff --git a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/operations/_databases_operations.py b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/operations/_databases_operations.py
index a516b3c429f..fc36a953638 100644
--- a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/operations/_databases_operations.py
+++ b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/operations/_databases_operations.py
@@ -32,7 +32,7 @@ class DatabasesOperations(object):
instantiates it for you and attaches it as an attribute.
:ivar models: Alias to model classes used in this operation group.
- :type models: ~azure.mgmt.redisenterprise.models
+ :type models: ~redis_enterprise_management_client.models
:param client: Client for service requests.
:param config: Configuration of service client.
:param serializer: An object model serializer.
@@ -62,7 +62,7 @@ def list_by_cluster(
:type cluster_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either DatabaseList or the result of cls(response)
- :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.redisenterprise.models.DatabaseList]
+ :rtype: ~azure.core.paging.ItemPaged[~redis_enterprise_management_client.models.DatabaseList]
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.DatabaseList"]
@@ -70,7 +70,7 @@ def list_by_cluster(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
accept = "application/json"
def prepare_request(next_link=None):
@@ -83,7 +83,7 @@ def prepare_request(next_link=None):
url = self.list_by_cluster.metadata['url'] # type: ignore
path_format_arguments = {
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -137,14 +137,14 @@ def _create_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"
# Construct URL
url = self._create_initial.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'databaseName': self._serialize.url("database_name", database_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
@@ -202,7 +202,7 @@ def begin_create(
:param database_name: The name of the database.
:type database_name: str
:param parameters: Parameters supplied to the create or update database operation.
- :type parameters: ~azure.mgmt.redisenterprise.models.Database
+ :type parameters: ~redis_enterprise_management_client.models.Database
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: True for ARMPolling, False for no polling, or a
@@ -210,7 +210,7 @@ def begin_create(
:paramtype polling: bool or ~azure.core.polling.PollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of LROPoller that returns either Database or the result of cls(response)
- :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.redisenterprise.models.Database]
+ :rtype: ~azure.core.polling.LROPoller[~redis_enterprise_management_client.models.Database]
:raises ~azure.core.exceptions.HttpResponseError:
"""
polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod]
@@ -241,7 +241,7 @@ def get_long_running_output(pipeline_response):
return deserialized
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'databaseName': self._serialize.url("database_name", database_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
@@ -275,14 +275,14 @@ def _update_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"
# Construct URL
url = self._update_initial.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'databaseName': self._serialize.url("database_name", database_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
@@ -338,7 +338,7 @@ def begin_update(
:param database_name: The name of the database.
:type database_name: str
:param parameters: Parameters supplied to the create or update database operation.
- :type parameters: ~azure.mgmt.redisenterprise.models.DatabaseUpdate
+ :type parameters: ~redis_enterprise_management_client.models.DatabaseUpdate
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: True for ARMPolling, False for no polling, or a
@@ -346,7 +346,7 @@ def begin_update(
:paramtype polling: bool or ~azure.core.polling.PollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of LROPoller that returns either Database or the result of cls(response)
- :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.redisenterprise.models.Database]
+ :rtype: ~azure.core.polling.LROPoller[~redis_enterprise_management_client.models.Database]
:raises ~azure.core.exceptions.HttpResponseError:
"""
polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod]
@@ -377,7 +377,7 @@ def get_long_running_output(pipeline_response):
return deserialized
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'databaseName': self._serialize.url("database_name", database_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
@@ -415,7 +415,7 @@ def get(
:type database_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: Database, or the result of cls(response)
- :rtype: ~azure.mgmt.redisenterprise.models.Database
+ :rtype: ~redis_enterprise_management_client.models.Database
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.Database"]
@@ -423,13 +423,13 @@ def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
accept = "application/json"
# Construct URL
url = self.get.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'databaseName': self._serialize.url("database_name", database_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
@@ -474,13 +474,13 @@ def _delete_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
accept = "application/json"
# Construct URL
url = self._delete_initial.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'databaseName': self._serialize.url("database_name", database_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
@@ -559,7 +559,7 @@ def get_long_running_output(pipeline_response):
return cls(pipeline_response, None, {})
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'databaseName': self._serialize.url("database_name", database_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
@@ -597,7 +597,7 @@ def list_keys(
:type database_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: AccessKeys, or the result of cls(response)
- :rtype: ~azure.mgmt.redisenterprise.models.AccessKeys
+ :rtype: ~redis_enterprise_management_client.models.AccessKeys
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.AccessKeys"]
@@ -605,13 +605,13 @@ def list_keys(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
accept = "application/json"
# Construct URL
url = self.list_keys.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'databaseName': self._serialize.url("database_name", database_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
@@ -657,14 +657,14 @@ def _regenerate_key_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"
# Construct URL
url = self._regenerate_key_initial.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'databaseName': self._serialize.url("database_name", database_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
@@ -720,7 +720,7 @@ def begin_regenerate_key(
:param database_name: The name of the database.
:type database_name: str
:param parameters: Specifies which key to regenerate.
- :type parameters: ~azure.mgmt.redisenterprise.models.RegenerateKeyParameters
+ :type parameters: ~redis_enterprise_management_client.models.RegenerateKeyParameters
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: True for ARMPolling, False for no polling, or a
@@ -728,7 +728,7 @@ def begin_regenerate_key(
:paramtype polling: bool or ~azure.core.polling.PollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of LROPoller that returns either AccessKeys or the result of cls(response)
- :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.redisenterprise.models.AccessKeys]
+ :rtype: ~azure.core.polling.LROPoller[~redis_enterprise_management_client.models.AccessKeys]
:raises ~azure.core.exceptions.HttpResponseError:
"""
polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod]
@@ -759,7 +759,7 @@ def get_long_running_output(pipeline_response):
return deserialized
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'databaseName': self._serialize.url("database_name", database_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
@@ -793,14 +793,14 @@ def _import_method_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"
# Construct URL
url = self._import_method_initial.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'databaseName': self._serialize.url("database_name", database_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
@@ -842,7 +842,7 @@ def begin_import_method(
**kwargs # type: Any
):
# type: (...) -> LROPoller[None]
- """Imports a database file to target database.
+ """Imports database files to target database.
:param resource_group_name: The name of the resource group. The name is case insensitive.
:type resource_group_name: str
@@ -851,7 +851,7 @@ def begin_import_method(
:param database_name: The name of the database.
:type database_name: str
:param parameters: Storage information for importing into the cluster.
- :type parameters: ~azure.mgmt.redisenterprise.models.ImportClusterParameters
+ :type parameters: ~redis_enterprise_management_client.models.ImportClusterParameters
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: True for ARMPolling, False for no polling, or a
@@ -887,7 +887,7 @@ def get_long_running_output(pipeline_response):
return cls(pipeline_response, None, {})
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'databaseName': self._serialize.url("database_name", database_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
@@ -921,14 +921,14 @@ def _export_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"
# Construct URL
url = self._export_initial.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'databaseName': self._serialize.url("database_name", database_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
@@ -979,7 +979,7 @@ def begin_export(
:param database_name: The name of the database.
:type database_name: str
:param parameters: Storage information for exporting into the cluster.
- :type parameters: ~azure.mgmt.redisenterprise.models.ExportClusterParameters
+ :type parameters: ~redis_enterprise_management_client.models.ExportClusterParameters
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: True for ARMPolling, False for no polling, or a
@@ -1015,7 +1015,7 @@ def get_long_running_output(pipeline_response):
return cls(pipeline_response, None, {})
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'databaseName': self._serialize.url("database_name", database_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
diff --git a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/operations/_operations.py b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/operations/_operations.py
index a28b5cd823c..7c57fb1ebe8 100644
--- a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/operations/_operations.py
+++ b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/operations/_operations.py
@@ -30,7 +30,7 @@ class Operations(object):
instantiates it for you and attaches it as an attribute.
:ivar models: Alias to model classes used in this operation group.
- :type models: ~azure.mgmt.redisenterprise.models
+ :type models: ~redis_enterprise_management_client.models
:param client: Client for service requests.
:param config: Configuration of service client.
:param serializer: An object model serializer.
@@ -54,7 +54,7 @@ def list(
:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either OperationListResult or the result of cls(response)
- :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.redisenterprise.models.OperationListResult]
+ :rtype: ~azure.core.paging.ItemPaged[~redis_enterprise_management_client.models.OperationListResult]
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.OperationListResult"]
@@ -62,7 +62,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
accept = "application/json"
def prepare_request(next_link=None):
diff --git a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/operations/_operations_status_operations.py b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/operations/_operations_status_operations.py
index d2320a56bf4..9d6a2e9fb24 100644
--- a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/operations/_operations_status_operations.py
+++ b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/operations/_operations_status_operations.py
@@ -29,7 +29,7 @@ class OperationsStatusOperations(object):
instantiates it for you and attaches it as an attribute.
:ivar models: Alias to model classes used in this operation group.
- :type models: ~azure.mgmt.redisenterprise.models
+ :type models: ~redis_enterprise_management_client.models
:param client: Client for service requests.
:param config: Configuration of service client.
:param serializer: An object model serializer.
@@ -59,7 +59,7 @@ def get(
:type operation_id: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: OperationStatus, or the result of cls(response)
- :rtype: ~azure.mgmt.redisenterprise.models.OperationStatus
+ :rtype: ~redis_enterprise_management_client.models.OperationStatus
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.OperationStatus"]
@@ -67,7 +67,7 @@ def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
accept = "application/json"
# Construct URL
diff --git a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/operations/_private_endpoint_connections_operations.py b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/operations/_private_endpoint_connections_operations.py
index 2614e0db94b..688e12b8284 100644
--- a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/operations/_private_endpoint_connections_operations.py
+++ b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/operations/_private_endpoint_connections_operations.py
@@ -32,7 +32,7 @@ class PrivateEndpointConnectionsOperations(object):
instantiates it for you and attaches it as an attribute.
:ivar models: Alias to model classes used in this operation group.
- :type models: ~azure.mgmt.redisenterprise.models
+ :type models: ~redis_enterprise_management_client.models
:param client: Client for service requests.
:param config: Configuration of service client.
:param serializer: An object model serializer.
@@ -62,7 +62,7 @@ def list(
:type cluster_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either PrivateEndpointConnectionListResult or the result of cls(response)
- :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.redisenterprise.models.PrivateEndpointConnectionListResult]
+ :rtype: ~azure.core.paging.ItemPaged[~redis_enterprise_management_client.models.PrivateEndpointConnectionListResult]
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnectionListResult"]
@@ -70,7 +70,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
accept = "application/json"
def prepare_request(next_link=None):
@@ -82,7 +82,7 @@ def prepare_request(next_link=None):
# Construct URL
url = self.list.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
}
@@ -142,7 +142,7 @@ def get(
:type private_endpoint_connection_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: PrivateEndpointConnection, or the result of cls(response)
- :rtype: ~azure.mgmt.redisenterprise.models.PrivateEndpointConnection
+ :rtype: ~redis_enterprise_management_client.models.PrivateEndpointConnection
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateEndpointConnection"]
@@ -150,13 +150,13 @@ def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
accept = "application/json"
# Construct URL
url = self.get.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
@@ -202,14 +202,14 @@ def _put_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"
# Construct URL
url = self._put_initial.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'),
@@ -265,7 +265,7 @@ def begin_put(
with the Azure resource.
:type private_endpoint_connection_name: str
:param properties: The private endpoint connection properties.
- :type properties: ~azure.mgmt.redisenterprise.models.PrivateEndpointConnection
+ :type properties: ~redis_enterprise_management_client.models.PrivateEndpointConnection
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: True for ARMPolling, False for no polling, or a
@@ -273,7 +273,7 @@ def begin_put(
:paramtype polling: bool or ~azure.core.polling.PollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of LROPoller that returns either PrivateEndpointConnection or the result of cls(response)
- :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.redisenterprise.models.PrivateEndpointConnection]
+ :rtype: ~azure.core.polling.LROPoller[~redis_enterprise_management_client.models.PrivateEndpointConnection]
:raises ~azure.core.exceptions.HttpResponseError:
"""
polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod]
@@ -304,7 +304,7 @@ def get_long_running_output(pipeline_response):
return deserialized
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'),
@@ -351,13 +351,13 @@ def delete(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
accept = "application/json"
# Construct URL
url = self.delete.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
'privateEndpointConnectionName': self._serialize.url("private_endpoint_connection_name", private_endpoint_connection_name, 'str'),
diff --git a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/operations/_private_link_resources_operations.py b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/operations/_private_link_resources_operations.py
index f36df7aba29..bcb67131c90 100644
--- a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/operations/_private_link_resources_operations.py
+++ b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/operations/_private_link_resources_operations.py
@@ -30,7 +30,7 @@ class PrivateLinkResourcesOperations(object):
instantiates it for you and attaches it as an attribute.
:ivar models: Alias to model classes used in this operation group.
- :type models: ~azure.mgmt.redisenterprise.models
+ :type models: ~redis_enterprise_management_client.models
:param client: Client for service requests.
:param config: Configuration of service client.
:param serializer: An object model serializer.
@@ -60,7 +60,7 @@ def list_by_cluster(
:type cluster_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either PrivateLinkResourceListResult or the result of cls(response)
- :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.redisenterprise.models.PrivateLinkResourceListResult]
+ :rtype: ~azure.core.paging.ItemPaged[~redis_enterprise_management_client.models.PrivateLinkResourceListResult]
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.PrivateLinkResourceListResult"]
@@ -68,7 +68,7 @@ def list_by_cluster(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
accept = "application/json"
def prepare_request(next_link=None):
@@ -80,7 +80,7 @@ def prepare_request(next_link=None):
# Construct URL
url = self.list_by_cluster.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
}
diff --git a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/operations/_redis_enterprise_operations.py b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/operations/_redis_enterprise_operations.py
index c5b32a95700..f70c09f5f69 100644
--- a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/operations/_redis_enterprise_operations.py
+++ b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/operations/_redis_enterprise_operations.py
@@ -32,7 +32,7 @@ class RedisEnterpriseOperations(object):
instantiates it for you and attaches it as an attribute.
:ivar models: Alias to model classes used in this operation group.
- :type models: ~azure.mgmt.redisenterprise.models
+ :type models: ~redis_enterprise_management_client.models
:param client: Client for service requests.
:param config: Configuration of service client.
:param serializer: An object model serializer.
@@ -60,14 +60,14 @@ def _create_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"
# Construct URL
url = self._create_initial.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
}
@@ -121,7 +121,7 @@ def begin_create(
:param cluster_name: The name of the RedisEnterprise cluster.
:type cluster_name: str
:param parameters: Parameters supplied to the Create RedisEnterprise operation.
- :type parameters: ~azure.mgmt.redisenterprise.models.Cluster
+ :type parameters: ~redis_enterprise_management_client.models.Cluster
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: True for ARMPolling, False for no polling, or a
@@ -129,7 +129,7 @@ def begin_create(
:paramtype polling: bool or ~azure.core.polling.PollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of LROPoller that returns either Cluster or the result of cls(response)
- :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.redisenterprise.models.Cluster]
+ :rtype: ~azure.core.polling.LROPoller[~redis_enterprise_management_client.models.Cluster]
:raises ~azure.core.exceptions.HttpResponseError:
"""
polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod]
@@ -159,7 +159,7 @@ def get_long_running_output(pipeline_response):
return deserialized
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
}
@@ -191,14 +191,14 @@ def _update_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
content_type = kwargs.pop("content_type", "application/json")
accept = "application/json"
# Construct URL
url = self._update_initial.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
}
@@ -250,7 +250,7 @@ def begin_update(
:param cluster_name: The name of the RedisEnterprise cluster.
:type cluster_name: str
:param parameters: Parameters supplied to the Update RedisEnterprise operation.
- :type parameters: ~azure.mgmt.redisenterprise.models.ClusterUpdate
+ :type parameters: ~redis_enterprise_management_client.models.ClusterUpdate
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: True for ARMPolling, False for no polling, or a
@@ -258,7 +258,7 @@ def begin_update(
:paramtype polling: bool or ~azure.core.polling.PollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of LROPoller that returns either Cluster or the result of cls(response)
- :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.redisenterprise.models.Cluster]
+ :rtype: ~azure.core.polling.LROPoller[~redis_enterprise_management_client.models.Cluster]
:raises ~azure.core.exceptions.HttpResponseError:
"""
polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod]
@@ -288,7 +288,7 @@ def get_long_running_output(pipeline_response):
return deserialized
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
}
@@ -319,13 +319,13 @@ def _delete_initial(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
accept = "application/json"
# Construct URL
url = self._delete_initial.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
}
@@ -399,7 +399,7 @@ def get_long_running_output(pipeline_response):
return cls(pipeline_response, None, {})
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
}
@@ -433,7 +433,7 @@ def get(
:type cluster_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: Cluster, or the result of cls(response)
- :rtype: ~azure.mgmt.redisenterprise.models.Cluster
+ :rtype: ~redis_enterprise_management_client.models.Cluster
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.Cluster"]
@@ -441,13 +441,13 @@ def get(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
accept = "application/json"
# Construct URL
url = self.get.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
}
@@ -490,7 +490,7 @@ def list_by_resource_group(
:type resource_group_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either ClusterList or the result of cls(response)
- :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.redisenterprise.models.ClusterList]
+ :rtype: ~azure.core.paging.ItemPaged[~redis_enterprise_management_client.models.ClusterList]
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.ClusterList"]
@@ -498,7 +498,7 @@ def list_by_resource_group(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
accept = "application/json"
def prepare_request(next_link=None):
@@ -510,7 +510,7 @@ def prepare_request(next_link=None):
# Construct URL
url = self.list_by_resource_group.metadata['url'] # type: ignore
path_format_arguments = {
- 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'),
+ 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1),
'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1),
}
url = self._client.format_url(url, **path_format_arguments)
@@ -559,7 +559,7 @@ def list(
:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either ClusterList or the result of cls(response)
- :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.redisenterprise.models.ClusterList]
+ :rtype: ~azure.core.paging.ItemPaged[~redis_enterprise_management_client.models.ClusterList]
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType["models.ClusterList"]
@@ -567,7 +567,7 @@ def list(
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
error_map.update(kwargs.pop('error_map', {}))
- api_version = "2021-03-01"
+ api_version = "2021-08-01"
accept = "application/json"
def prepare_request(next_link=None):
diff --git a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/setup.py b/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/setup.py
deleted file mode 100644
index 02c267497d8..00000000000
--- a/src/redisenterprise/azext_redisenterprise/vendored_sdks/redisenterprise/setup.py
+++ /dev/null
@@ -1,37 +0,0 @@
-# coding=utf-8
-# --------------------------------------------------------------------------
-# Copyright (c) Microsoft Corporation. All rights reserved.
-# Licensed under the MIT License. See License.txt in the project root for license information.
-# Code generated by Microsoft (R) AutoRest Code Generator.
-# Changes may cause incorrect behavior and will be lost if the code is regenerated.
-# --------------------------------------------------------------------------
-# coding: utf-8
-
-from setuptools import setup, find_packages
-
-NAME = "azure-mgmt-redisenterprise"
-VERSION = "1.0.0"
-
-# To install the library, run the following
-#
-# python setup.py install
-#
-# prerequisite: setuptools
-# http://pypi.python.org/pypi/setuptools
-
-REQUIRES = ["msrest>=0.6.18", "azure-core<2.0.0,>=1.8.2", "azure-mgmt-core<2.0.0,>=1.2.1"]
-
-setup(
- name=NAME,
- version=VERSION,
- description="azure-mgmt-redisenterprise",
- author_email="",
- url="",
- keywords=["Swagger", "RedisEnterpriseManagementClient"],
- install_requires=REQUIRES,
- packages=find_packages(),
- include_package_data=True,
- long_description="""\
- REST API for managing Redis Enterprise resources in Azure.
- """
-)
diff --git a/src/redisenterprise/report.md b/src/redisenterprise/report.md
index 3e8e38e8d7a..4656c446fc8 100644
--- a/src/redisenterprise/report.md
+++ b/src/redisenterprise/report.md
@@ -218,15 +218,16 @@ BlobContainer?sasKeyParameters" --resource-group "rg1"
##### Example
```
-az redisenterprise database import --cluster-name "cache1" --sas-uri "https://contosostorage.blob.core.window.net/urlto\
-BlobFile?sasKeyParameters" --resource-group "rg1"
+az redisenterprise database import --cluster-name "cache1" --sas-uris "https://contosostorage.blob.core.window.net/urlt\
+oBlobFile1?sasKeyParameters" "https://contosostorage.blob.core.window.net/urltoBlobFile2?sasKeyParameters" \
+--resource-group "rg1"
```
##### Parameters
|Option|Type|Description|Path (SDK)|Swagger name|
|------|----|-----------|----------|------------|
|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName|
|**--cluster-name**|string|The name of the RedisEnterprise cluster.|cluster_name|clusterName|
-|**--sas-uri**|string|SAS URI for the target blob to import from|sas_uri|sasUri|
+|**--sas-uris**|array|SAS URIs for the target blobs to import from|sas_uris|sasUris|
#### Command `az redisenterprise database list-keys`
diff --git a/src/redisenterprise/setup.py b/src/redisenterprise/setup.py
index 58f844bc195..bebe3fd5765 100644
--- a/src/redisenterprise/setup.py
+++ b/src/redisenterprise/setup.py
@@ -10,7 +10,7 @@
from setuptools import setup, find_packages
# HISTORY.rst entry.
-VERSION = '0.1.1'
+VERSION = '0.1.0'
try:
from azext_redisenterprise.manual.version import VERSION
except ImportError: