Skip to content

Commit

Permalink
CodeGen from PR 15748 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
add config for sdk automation of newest rp (Azure#15748)
  • Loading branch information
SDKAuto committed Aug 24, 2021
1 parent 3fe8964 commit 1594a6e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 15 deletions.
8 changes: 4 additions & 4 deletions sdk/cosmos/azure-mgmt-cosmosdb/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"autorest": "3.4.2",
"autorest": "3.4.5",
"use": [
"@autorest/python@5.8.0",
"@autorest/python@5.8.4",
"@autorest/modelerfour@4.19.2"
],
"commit": "f780b571abddf2fc99233212a00510d3bef6878d",
"commit": "e5c47c5615f81613263ff76fe25628ee19030a02",
"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.4 --use=@autorest/modelerfour@4.19.2 --version=3.4.5",
"readme": "specification/cosmos-db/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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},
Expand Down Expand Up @@ -1633,8 +1634,6 @@ class DatabaseAccountGetResults(ARMResourceProperties):
'disable_local_auth': {'key': 'properties.disableLocalAuth', 'type': 'bool'},
}

database_account_offer_type = "Standard"

def __init__(
self,
**kwargs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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},
Expand Down Expand Up @@ -1775,8 +1776,6 @@ class DatabaseAccountGetResults(ARMResourceProperties):
'disable_local_auth': {'key': 'properties.disableLocalAuth', 'type': 'bool'},
}

database_account_offer_type = "Standard"

def __init__(
self,
*,
Expand Down

0 comments on commit 1594a6e

Please sign in to comment.