Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 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",
"use": [
"@autorest/[email protected].0",
"@autorest/[email protected].1",
"@autorest/[email protected]"
],
"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/[email protected].0 --use=@autorest/[email protected] --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/[email protected].1 --use=@autorest/[email protected] --version=3.4.2",
"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