diff --git a/sdk/keyvault/azure-mgmt-keyvault/azure/mgmt/keyvault/v2018_02_14/models/_models.py b/sdk/keyvault/azure-mgmt-keyvault/azure/mgmt/keyvault/v2018_02_14/models/_models.py index bb2afb4d5a2a..95953fa65959 100644 --- a/sdk/keyvault/azure-mgmt-keyvault/azure/mgmt/keyvault/v2018_02_14/models/_models.py +++ b/sdk/keyvault/azure-mgmt-keyvault/azure/mgmt/keyvault/v2018_02_14/models/_models.py @@ -988,10 +988,10 @@ class VaultProperties(Model): :type tenant_id: str :param sku: Required. SKU details :type sku: ~azure.mgmt.keyvault.v2018_02_14.models.Sku - :param access_policies: An array of 0 to 16 identities that have access to - the key vault. All identities in the array must use the same tenant ID as - the key vault's tenant ID. When `createMode` is set to `recover`, access - policies are not required. Otherwise, access policies are required. + :param access_policies: An array of 0 to 1024 identities that have access + to the key vault. All identities in the array must use the same tenant ID + as the key vault's tenant ID. When `createMode` is set to `recover`, + access policies are not required. Otherwise, access policies are required. :type access_policies: list[~azure.mgmt.keyvault.v2018_02_14.models.AccessPolicyEntry] :param vault_uri: The URI of the vault for performing operations on keys diff --git a/sdk/keyvault/azure-mgmt-keyvault/azure/mgmt/keyvault/v2018_02_14/models/_models_py3.py b/sdk/keyvault/azure-mgmt-keyvault/azure/mgmt/keyvault/v2018_02_14/models/_models_py3.py index 7c13a32a59ed..8db37cbe05b1 100644 --- a/sdk/keyvault/azure-mgmt-keyvault/azure/mgmt/keyvault/v2018_02_14/models/_models_py3.py +++ b/sdk/keyvault/azure-mgmt-keyvault/azure/mgmt/keyvault/v2018_02_14/models/_models_py3.py @@ -988,10 +988,10 @@ class VaultProperties(Model): :type tenant_id: str :param sku: Required. SKU details :type sku: ~azure.mgmt.keyvault.v2018_02_14.models.Sku - :param access_policies: An array of 0 to 16 identities that have access to - the key vault. All identities in the array must use the same tenant ID as - the key vault's tenant ID. When `createMode` is set to `recover`, access - policies are not required. Otherwise, access policies are required. + :param access_policies: An array of 0 to 1024 identities that have access + to the key vault. All identities in the array must use the same tenant ID + as the key vault's tenant ID. When `createMode` is set to `recover`, + access policies are not required. Otherwise, access policies are required. :type access_policies: list[~azure.mgmt.keyvault.v2018_02_14.models.AccessPolicyEntry] :param vault_uri: The URI of the vault for performing operations on keys diff --git a/sdk/keyvault/azure-mgmt-keyvault/azure/mgmt/keyvault/v2019_09_01/models/_models.py b/sdk/keyvault/azure-mgmt-keyvault/azure/mgmt/keyvault/v2019_09_01/models/_models.py index 32b541cd9bd1..5c8acb72a484 100644 --- a/sdk/keyvault/azure-mgmt-keyvault/azure/mgmt/keyvault/v2019_09_01/models/_models.py +++ b/sdk/keyvault/azure-mgmt-keyvault/azure/mgmt/keyvault/v2019_09_01/models/_models.py @@ -1004,10 +1004,10 @@ class VaultProperties(Model): :type tenant_id: str :param sku: Required. SKU details :type sku: ~azure.mgmt.keyvault.v2019_09_01.models.Sku - :param access_policies: An array of 0 to 16 identities that have access to - the key vault. All identities in the array must use the same tenant ID as - the key vault's tenant ID. When `createMode` is set to `recover`, access - policies are not required. Otherwise, access policies are required. + :param access_policies: An array of 0 to 1024 identities that have access + to the key vault. All identities in the array must use the same tenant ID + as the key vault's tenant ID. When `createMode` is set to `recover`, + access policies are not required. Otherwise, access policies are required. :type access_policies: list[~azure.mgmt.keyvault.v2019_09_01.models.AccessPolicyEntry] :param vault_uri: The URI of the vault for performing operations on keys diff --git a/sdk/keyvault/azure-mgmt-keyvault/azure/mgmt/keyvault/v2019_09_01/models/_models_py3.py b/sdk/keyvault/azure-mgmt-keyvault/azure/mgmt/keyvault/v2019_09_01/models/_models_py3.py index 7c0dcb3c6fd4..4cce16589601 100644 --- a/sdk/keyvault/azure-mgmt-keyvault/azure/mgmt/keyvault/v2019_09_01/models/_models_py3.py +++ b/sdk/keyvault/azure-mgmt-keyvault/azure/mgmt/keyvault/v2019_09_01/models/_models_py3.py @@ -1004,10 +1004,10 @@ class VaultProperties(Model): :type tenant_id: str :param sku: Required. SKU details :type sku: ~azure.mgmt.keyvault.v2019_09_01.models.Sku - :param access_policies: An array of 0 to 16 identities that have access to - the key vault. All identities in the array must use the same tenant ID as - the key vault's tenant ID. When `createMode` is set to `recover`, access - policies are not required. Otherwise, access policies are required. + :param access_policies: An array of 0 to 1024 identities that have access + to the key vault. All identities in the array must use the same tenant ID + as the key vault's tenant ID. When `createMode` is set to `recover`, + access policies are not required. Otherwise, access policies are required. :type access_policies: list[~azure.mgmt.keyvault.v2019_09_01.models.AccessPolicyEntry] :param vault_uri: The URI of the vault for performing operations on keys diff --git a/sdk/keyvault/azure-mgmt-keyvault/setup.py b/sdk/keyvault/azure-mgmt-keyvault/setup.py index a69d42f38a99..68f7f441e9f1 100644 --- a/sdk/keyvault/azure-mgmt-keyvault/setup.py +++ b/sdk/keyvault/azure-mgmt-keyvault/setup.py @@ -36,7 +36,9 @@ pass # Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py'), 'r') as fd: +with open(os.path.join(package_folder_path, 'version.py') + if os.path.exists(os.path.join(package_folder_path, 'version.py')) + else os.path.join(package_folder_path, '_version.py'), 'r') as fd: version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1)