Skip to content

Commit

Permalink
CodeGen from PR 14406 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 6002e63ec968096b0ba7c3b54242dec5f0057700 into 4186031
  • Loading branch information
SDKAuto committed May 20, 2021
1 parent f283843 commit a8a9269
Show file tree
Hide file tree
Showing 31 changed files with 487 additions and 484 deletions.
9 changes: 6 additions & 3 deletions sdk/cosmos/azure-mgmt-cosmosdb/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"autorest": "3.4.2",
"use": "@autorest/[email protected]",
"commit": "c6a18a2e52c498ab976dddd807221c2a12d5f9d1",
"use": [
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"commit": "61a219035f5acecd86e7d8ab8df67c2744ed4057",
"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.6.6 --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.0 --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.3.0"
VERSION = "0.7.0"

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def list_metrics(
database_rid: str,
collection_rid: str,
filter: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.MetricListResult"]:
"""Retrieves the metrics determined by the given filter for the given database account and
collection.
Expand Down Expand Up @@ -137,7 +137,7 @@ def list_usages(
database_rid: str,
collection_rid: str,
filter: Optional[str] = None,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.UsagesResult"]:
"""Retrieves the usages (most recent storage data) for the given collection.
Expand Down Expand Up @@ -224,7 +224,7 @@ def list_metric_definitions(
account_name: str,
database_rid: str,
collection_rid: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.MetricDefinitionsListResult"]:
"""Retrieves metric definitions for the given collection.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def list_metrics(
database_rid: str,
collection_rid: str,
filter: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.PartitionMetricListResult"]:
"""Retrieves the metrics determined by the given filter for the given collection, split by
partition.
Expand Down Expand Up @@ -137,7 +137,7 @@ def list_usages(
database_rid: str,
collection_rid: str,
filter: Optional[str] = None,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.PartitionUsagesResult"]:
"""Retrieves the usages (most recent storage data) for the given collection, split by partition.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def list_metrics(
database_rid: str,
collection_rid: str,
filter: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.PartitionMetricListResult"]:
"""Retrieves the metrics determined by the given filter for the given collection and region, split
by partition.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def list_metrics(
database_rid: str,
collection_rid: str,
filter: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.MetricListResult"]:
"""Retrieves the metrics determined by the given filter for the given database account, collection
and region.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def list_metrics(
account_name: str,
region: str,
filter: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.MetricListResult"]:
"""Retrieves the metrics determined by the given filter for the given database account and region.
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def list_metrics(
account_name: str,
database_rid: str,
filter: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.MetricListResult"]:
"""Retrieves the metrics determined by the given filter for the given database account and
database.
Expand Down Expand Up @@ -132,7 +132,7 @@ def list_usages(
account_name: str,
database_rid: str,
filter: Optional[str] = None,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.UsagesResult"]:
"""Retrieves the usages (most recent data) for the given database.
Expand Down Expand Up @@ -215,7 +215,7 @@ def list_metric_definitions(
resource_group_name: str,
account_name: str,
database_rid: str,
**kwargs
**kwargs: Any
) -> AsyncIterable["_models.MetricDefinitionsListResult"]:
"""Retrieves metric definitions for the given database.
Expand Down
Loading

0 comments on commit a8a9269

Please sign in to comment.