From f667902df76912f86a33e589ca91df3320f04e8b Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 25 Jun 2021 02:24:34 +0000 Subject: [PATCH] CodeGen from PR 14967 in Azure/azure-rest-api-specs add tag to readme.go.md (#14967) * add tag to readme.go.md * Update specification/azurestackhci/resource-manager/readme.go.md Co-authored-by: Arcturus Co-authored-by: Arcturus --- sdk/cosmos/azure-mgmt-cosmosdb/_meta.json | 6 +++--- .../azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/_version.py | 2 +- .../azure/mgmt/cosmosdb/models/_models.py | 9 ++++----- .../azure/mgmt/cosmosdb/models/_models_py3.py | 9 ++++----- 4 files changed, 12 insertions(+), 14 deletions(-) diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/_meta.json b/sdk/cosmos/azure-mgmt-cosmosdb/_meta.json index 847fc8ff8a25..473e8f93128c 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/_meta.json +++ b/sdk/cosmos/azure-mgmt-cosmosdb/_meta.json @@ -1,11 +1,11 @@ { "autorest": "3.4.2", "use": [ - "@autorest/python@5.8.0", + "@autorest/python@5.8.1", "@autorest/modelerfour@4.19.2" ], - "commit": "f780b571abddf2fc99233212a00510d3bef6878d", + "commit": "01ce30325e508d42667080fc6ad1f797df921c2f", "repository_url": "https://github.com/Azure/azure-rest-api-specs", - "autorest_command": "autorest specification/cosmos-db/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.0 --use=@autorest/modelerfour@4.19.2 --version=3.4.2", + "autorest_command": "autorest specification/cosmos-db/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.1 --use=@autorest/modelerfour@4.19.2 --version=3.4.2", "readme": "specification/cosmos-db/resource-manager/readme.md" } \ No newline at end of file diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/_version.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/_version.py index fba0344fbc7b..a712687790e5 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/_version.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "6.4.0" +VERSION = "0.7.0" diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/_models.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/_models.py index 59ff2806aa5e..0b4d16539e72 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/_models.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/_models.py @@ -1306,7 +1306,7 @@ class DatabaseAccountCreateUpdateParameters(ARMResourceProperties): :param locations: Required. An array that contains the georeplication locations enabled for the Cosmos DB account. :type locations: list[~azure.mgmt.cosmosdb.models.Location] - :ivar database_account_offer_type: Required. The offer type for the database. Default value: + :ivar database_account_offer_type: The offer type for the database. Has constant value: "Standard". :vartype database_account_offer_type: str :param ip_rules: List of IpRules. @@ -1490,7 +1490,8 @@ class DatabaseAccountGetResults(ARMResourceProperties): :ivar document_endpoint: The connection endpoint for the Cosmos DB database account. :vartype document_endpoint: str :ivar database_account_offer_type: The offer type for the Cosmos DB database account. Default - value: Standard. Default value: "Standard". + value: Standard. The only acceptable values to pass in are None and "Standard". The default + value is None. :vartype database_account_offer_type: str :param ip_rules: List of IpRules. :type ip_rules: list[~azure.mgmt.cosmosdb.models.IpAddressOrRange] @@ -1580,7 +1581,7 @@ class DatabaseAccountGetResults(ARMResourceProperties): 'system_data': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'document_endpoint': {'readonly': True}, - 'database_account_offer_type': {'readonly': True, 'constant': True}, + 'database_account_offer_type': {'readonly': True}, 'write_locations': {'readonly': True}, 'read_locations': {'readonly': True}, 'locations': {'readonly': True}, @@ -1633,8 +1634,6 @@ class DatabaseAccountGetResults(ARMResourceProperties): 'disable_local_auth': {'key': 'properties.disableLocalAuth', 'type': 'bool'}, } - database_account_offer_type = "Standard" - def __init__( self, **kwargs diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/_models_py3.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/_models_py3.py index 3d33e0d4e0bd..89aa850cadd6 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/_models_py3.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/_models_py3.py @@ -1418,7 +1418,7 @@ class DatabaseAccountCreateUpdateParameters(ARMResourceProperties): :param locations: Required. An array that contains the georeplication locations enabled for the Cosmos DB account. :type locations: list[~azure.mgmt.cosmosdb.models.Location] - :ivar database_account_offer_type: Required. The offer type for the database. Default value: + :ivar database_account_offer_type: The offer type for the database. Has constant value: "Standard". :vartype database_account_offer_type: str :param ip_rules: List of IpRules. @@ -1632,7 +1632,8 @@ class DatabaseAccountGetResults(ARMResourceProperties): :ivar document_endpoint: The connection endpoint for the Cosmos DB database account. :vartype document_endpoint: str :ivar database_account_offer_type: The offer type for the Cosmos DB database account. Default - value: Standard. Default value: "Standard". + value: Standard. The only acceptable values to pass in are None and "Standard". The default + value is None. :vartype database_account_offer_type: str :param ip_rules: List of IpRules. :type ip_rules: list[~azure.mgmt.cosmosdb.models.IpAddressOrRange] @@ -1722,7 +1723,7 @@ class DatabaseAccountGetResults(ARMResourceProperties): 'system_data': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'document_endpoint': {'readonly': True}, - 'database_account_offer_type': {'readonly': True, 'constant': True}, + 'database_account_offer_type': {'readonly': True}, 'write_locations': {'readonly': True}, 'read_locations': {'readonly': True}, 'locations': {'readonly': True}, @@ -1775,8 +1776,6 @@ class DatabaseAccountGetResults(ARMResourceProperties): 'disable_local_auth': {'key': 'properties.disableLocalAuth', 'type': 'bool'}, } - database_account_offer_type = "Standard" - def __init__( self, *,