public interface DatabasesClient
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.http.rest.PagedIterable<MetricDefinitionInner> |
listMetricDefinitions(String resourceGroupName,
String accountName,
String databaseRid)
Retrieves metric definitions for the given database.
|
com.azure.core.http.rest.PagedIterable<MetricDefinitionInner> |
listMetricDefinitions(String resourceGroupName,
String accountName,
String databaseRid,
com.azure.core.util.Context context)
Retrieves metric definitions for the given database.
|
com.azure.core.http.rest.PagedFlux<MetricDefinitionInner> |
listMetricDefinitionsAsync(String resourceGroupName,
String accountName,
String databaseRid)
Retrieves metric definitions for the given database.
|
com.azure.core.http.rest.PagedIterable<MetricInner> |
listMetrics(String resourceGroupName,
String accountName,
String databaseRid,
String filter)
Retrieves the metrics determined by the given filter for the given database account and database.
|
com.azure.core.http.rest.PagedIterable<MetricInner> |
listMetrics(String resourceGroupName,
String accountName,
String databaseRid,
String filter,
com.azure.core.util.Context context)
Retrieves the metrics determined by the given filter for the given database account and database.
|
com.azure.core.http.rest.PagedFlux<MetricInner> |
listMetricsAsync(String resourceGroupName,
String accountName,
String databaseRid,
String filter)
Retrieves the metrics determined by the given filter for the given database account and database.
|
com.azure.core.http.rest.PagedIterable<UsageInner> |
listUsages(String resourceGroupName,
String accountName,
String databaseRid)
Retrieves the usages (most recent data) for the given database.
|
com.azure.core.http.rest.PagedIterable<UsageInner> |
listUsages(String resourceGroupName,
String accountName,
String databaseRid,
String filter,
com.azure.core.util.Context context)
Retrieves the usages (most recent data) for the given database.
|
com.azure.core.http.rest.PagedFlux<UsageInner> |
listUsagesAsync(String resourceGroupName,
String accountName,
String databaseRid)
Retrieves the usages (most recent data) for the given database.
|
com.azure.core.http.rest.PagedFlux<UsageInner> |
listUsagesAsync(String resourceGroupName,
String accountName,
String databaseRid,
String filter)
Retrieves the usages (most recent data) for the given database.
|
com.azure.core.http.rest.PagedFlux<MetricInner> listMetricsAsync(String resourceGroupName, String accountName, String databaseRid, String filter)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.databaseRid - Cosmos DB database rid.filter - An OData filter expression that describes a subset of metrics to return. The parameters that can be
filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and
timeGrain. The supported operator is eq.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<MetricInner> listMetrics(String resourceGroupName, String accountName, String databaseRid, String filter)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.databaseRid - Cosmos DB database rid.filter - An OData filter expression that describes a subset of metrics to return. The parameters that can be
filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and
timeGrain. The supported operator is eq.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<MetricInner> listMetrics(String resourceGroupName, String accountName, String databaseRid, String filter, com.azure.core.util.Context context)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.databaseRid - Cosmos DB database rid.filter - An OData filter expression that describes a subset of metrics to return. The parameters that can be
filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and
timeGrain. The supported operator is eq.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<UsageInner> listUsagesAsync(String resourceGroupName, String accountName, String databaseRid, String filter)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.databaseRid - Cosmos DB database rid.filter - An OData filter expression that describes a subset of usages to return. The supported parameter is
name.value (name of the metric, can have an or of multiple names).IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<UsageInner> listUsagesAsync(String resourceGroupName, String accountName, String databaseRid)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.databaseRid - Cosmos DB database rid.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<UsageInner> listUsages(String resourceGroupName, String accountName, String databaseRid, String filter, com.azure.core.util.Context context)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.databaseRid - Cosmos DB database rid.filter - An OData filter expression that describes a subset of usages to return. The supported parameter is
name.value (name of the metric, can have an or of multiple names).context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<UsageInner> listUsages(String resourceGroupName, String accountName, String databaseRid)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.databaseRid - Cosmos DB database rid.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<MetricDefinitionInner> listMetricDefinitionsAsync(String resourceGroupName, String accountName, String databaseRid)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.databaseRid - Cosmos DB database rid.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<MetricDefinitionInner> listMetricDefinitions(String resourceGroupName, String accountName, String databaseRid)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.databaseRid - Cosmos DB database rid.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<MetricDefinitionInner> listMetricDefinitions(String resourceGroupName, String accountName, String databaseRid, com.azure.core.util.Context context)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.databaseRid - Cosmos DB database rid.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Copyright © 2020 Microsoft Corporation. All rights reserved.